diff options
Diffstat (limited to 'test/colbrowser.cxx')
| -rw-r--r-- | test/colbrowser.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/colbrowser.cxx b/test/colbrowser.cxx index b167d6539..0865870d8 100644 --- a/test/colbrowser.cxx +++ b/test/colbrowser.cxx @@ -147,15 +147,11 @@ static int load_browser(char *fname) RGBdb *db = rgbdb, *dbs = db + MAX_RGB; int r, g, b, lr = -1 , lg = -1, lb = -1; char name[256], buf[256]; -#ifdef __EMX__ - if (!(fp = fl_fopen(__XOS2RedirRoot(fname), "r"))) -#else - if (!(fp = fl_fopen(fname, "r"))) -#endif - { - fl_alert("%s\n%s\n%s","Load", fname, "Can't open"); - return 0; - } + + if (!(fp = fl_fopen(fname, "r"))) { + fl_alert("%s\n%s\n%s","Load", fname, "Can't open"); + return 0; + } /* read the items */ |
