Mercurial > hg > sidinfo
comparison sidinfo.c @ 318:f3ba2ba894b1
Rename few HVSC related #defines to have SIDUTIL_ prefix.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jan 2020 19:11:34 +0200 |
parents | b0c844b39516 |
children | 6d0143e43edf |
comparison
equal
deleted
inserted
replaced
317:6291b08730df | 318:f3ba2ba894b1 |
---|---|
1209 if (th_strrcasecmp(setHVSCPath, TH_DIR_SEPARATOR_STR) == NULL) | 1209 if (th_strrcasecmp(setHVSCPath, TH_DIR_SEPARATOR_STR) == NULL) |
1210 th_pstr_printf(&setHVSCPath, "%s%c", setHVSCPath, TH_DIR_SEPARATOR_CHR); | 1210 th_pstr_printf(&setHVSCPath, "%s%c", setHVSCPath, TH_DIR_SEPARATOR_CHR); |
1211 | 1211 |
1212 // If SLDB path is not set, autocheck for .md5 and .txt | 1212 // If SLDB path is not set, autocheck for .md5 and .txt |
1213 if (setSLDBPath == NULL) | 1213 if (setSLDBPath == NULL) |
1214 setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SET_SLDB_FILEBASE, ".md5"); | 1214 setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SIDUTIL_SLDB_FILEBASE, ".md5"); |
1215 | 1215 |
1216 if (setSLDBPath == NULL) | 1216 if (setSLDBPath == NULL) |
1217 setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SET_SLDB_FILEBASE, ".txt"); | 1217 setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SIDUTIL_SLDB_FILEBASE, ".txt"); |
1218 | 1218 |
1219 if (setSTILDBPath == NULL) | 1219 if (setSTILDBPath == NULL) |
1220 setSTILDBPath = sidutil_check_hvsc_file(setHVSCPath, SET_STILDB_FILENAME, NULL); | 1220 setSTILDBPath = sidutil_check_hvsc_file(setHVSCPath, SIDUTIL_STILDB_FILENAME, NULL); |
1221 } | 1221 } |
1222 | 1222 |
1223 if (setSLDBPath != NULL) | 1223 if (setSLDBPath != NULL) |
1224 { | 1224 { |
1225 // Initialize SLDB | 1225 // Initialize SLDB |