More Haiku fixes (gcc v2 support, actually)cf. Issue 61

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@364 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-11-26 21:56:36 +00:00
parent 3ca05279db
commit 3d4def25f0
2 changed files with 4 additions and 4 deletions

View File

@@ -83,11 +83,11 @@ int CaractereValide(int Caractere)
#else
char CaracteresInterdits[] = {'/', '|', '?', '*', '<', '>'};
#endif
int Position;
if (Caractere < ' ' || Caractere > 255)
return 0;
int Position;
for (Position=0; Position<(long)sizeof(CaracteresInterdits); Position++)
if (Caractere == CaracteresInterdits[Position])
return 0;