Win32 updates

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@784 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-10-26 18:57:23 +00:00 committed by cras
commit e0bc134d66
7 changed files with 34 additions and 3 deletions

View file

@ -39,8 +39,10 @@ char * findProgramPath(char * argv0) {
*chptr = '\0';
sprintf(buf, "%s/%s", start, argv0);
#ifndef WIN32
if (!access(buf, X_OK))
return buf;
#endif
if (chptr)
start = chptr + 1;