Skip to content

Commit f6b6eda

Browse files
committed
- Fix some issues with loading models (I hope)
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12776 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent b1c77aa commit f6b6eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/runtime/systemimpl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ int SystemImpl__getLoadModelPath(const char *name, void *prios, void *mps, const
15381538
*isDir = cIsDir;
15391539
}
15401540
break;
1541-
} else if (version && 0 == strncmp(version,cverPrio,versionLen)) {
1541+
} else if (version && 0 == strcmp(version,cverPrio)) {
15421542
outPrio = prio;
15431543
*outDir = mp;
15441544
if (*outName) free(*outName);

0 commit comments

Comments
 (0)