Don't hog the CPU while waiting for the file selector.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2573
This commit is contained in:
parent
a16cb18b84
commit
9963de836f
1 changed files with 1 additions and 3 deletions
|
|
@ -114,7 +114,7 @@ static char *ExecReadOutput(char **argv)
|
|||
result[result_len] = '\0';
|
||||
}
|
||||
|
||||
TXT_Sleep(25);
|
||||
usleep(100 * 1000);
|
||||
TXT_UpdateScreen();
|
||||
}
|
||||
|
||||
|
|
@ -315,8 +315,6 @@ char *TXT_SelectFile(char *window_title, char **extensions)
|
|||
" copy POSIX path of theFile to stdout\n" \
|
||||
"end tell\n"
|
||||
|
||||
// "tell app appname\n"
|
||||
|
||||
static char *EscapedString(char *s)
|
||||
{
|
||||
char *result;
|
||||
|
|
|
|||
Loading…
Reference in a new issue