Mercurial > hg > dmlib
comparison tests/plrtest.c @ 797:f066e9dccf29
Oops, fix some inverted booleans.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 19:51:38 +0300 |
parents | 97ecc0a9c21f |
children | 0d173edbabe2 |
comparison
equal
deleted
inserted
replaced
796:97ecc0a9c21f | 797:f066e9dccf29 |
---|---|
139 | 139 |
140 // Read module file | 140 // Read module file |
141 fprintf(stderr, "Reading file: %s\n", inFilename); | 141 fprintf(stderr, "Reading file: %s\n", inFilename); |
142 #ifdef JSS_SUP_XM | 142 #ifdef JSS_SUP_XM |
143 fprintf(stderr, "* Trying XM...\n"); | 143 fprintf(stderr, "* Trying XM...\n"); |
144 result = jssLoadXM(file, &mod, FALSE); | 144 result = jssLoadXM(file, &mod, TRUE); |
145 #ifdef JSS_SUP_JSSMOD | 145 #ifdef JSS_SUP_JSSMOD |
146 if (result != 0) | 146 if (result != 0) |
147 { | 147 { |
148 dmfseek(file, 0L, SEEK_SET); | 148 dmfseek(file, 0L, SEEK_SET); |
149 dmMsg(1, "* Trying JSSMOD ...\n"); | 149 dmMsg(1, "* Trying JSSMOD ...\n"); |
150 result = jssLoadJSSMOD(file, &mod, FALSE); | 150 result = jssLoadJSSMOD(file, &mod, TRUE); |
151 } | 151 } |
152 #endif | 152 #endif |
153 #else | 153 #else |
154 #ifdef JSS_SUP_JSSMOD | 154 #ifdef JSS_SUP_JSSMOD |
155 dmMsg(1, "* Trying JSSMOD ...\n"); | 155 dmMsg(1, "* Trying JSSMOD ...\n"); |
156 result = jssLoadJSSMOD(file, &mod, FALSE); | 156 result = jssLoadJSSMOD(file, &mod, TRUE); |
157 #endif | 157 #endif |
158 #endif | 158 #endif |
159 dmf_close(file); | 159 dmf_close(file); |
160 | 160 |
161 if (result != DMERR_OK) | 161 if (result != DMERR_OK) |