author | rubidium |
Thu, 17 May 2007 12:06:47 +0000 | |
changeset 6632 | 17d38db79a50 |
parent 6631 | 731f150daf08 |
child 6633 | fea441267fe7 |
src/unix.cpp | file | annotate | diff | comparison | revisions |
--- a/src/unix.cpp Wed May 16 21:28:23 2007 +0000 +++ b/src/unix.cpp Thu May 17 12:06:47 2007 +0000 @@ -53,7 +53,7 @@ #else /* On MorphOS or AmigaOS paths look like: "Volume:directory/subdirectory" */ const char *s = strchr(path, ':'); - return s[1] == '\0'; + return s != NULL && s[1] == '\0'; #endif }