We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7748f65 commit 2ffe15cCopy full SHA for 2ffe15c
src/main/c/config.c
@@ -188,13 +188,19 @@ void read_config(struct string *jvm_options)
188
const char *path = ij_path("ImageJ.cfg");
189
190
if (file_exists(path)) {
191
+ debug("read_config: reading ImageJ.cfg");
192
read_file_as_string(path, jvm_options);
- if (is_modern_config(jvm_options->buffer))
193
+ if (is_modern_config(jvm_options->buffer)) {
194
+ debug("read_config: detected modern config");
195
parse_modern_config(jvm_options);
- else
196
+ }
197
+ else {
198
+ debug("read_config: detected legacy config");
199
parse_legacy_config(jvm_options);
200
201
}
202
else {
203
+ debug("read_config: checking jvm.cfg");
204
path = ij_path("jvm.cfg");
205
if (file_exists(path))
206
0 commit comments