SLUDGE: remove platform dependent defines
This commit is contained in:
parent
7430ebe883
commit
bee42dc52f
28 changed files with 12 additions and 827 deletions
|
@ -70,11 +70,7 @@ char *getPrefsFilename(char *filename) {
|
|||
|
||||
char *f = filename;
|
||||
for (i = 0; i < n; i++) {
|
||||
#ifdef _WIN32
|
||||
if (filename[i] == '\\')
|
||||
#else
|
||||
if (filename[i] == '/')
|
||||
#endif
|
||||
f = filename + i + 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue