1 |
--- src/startup.c.orig 2012-04-16 13:30:01.000000000 +0800 |
2 |
+++ src/startup.c 2012-04-16 13:30:34.000000000 +0800 |
3 |
@@ -727,7 +727,7 @@ |
4 |
|
5 |
g_free(com); |
6 |
|
7 |
- while (mainw->cancelled==CANCEL_NONE&&(info_fd=open(cfile->info_file,O_RDONLY)==-1)) { |
8 |
+ while (mainw->cancelled==CANCEL_NONE&&(info_fd=open(cfile->info_file,O_RDONLY))==-1) { |
9 |
g_usleep(prefs->sleep_time); |
10 |
while (g_main_context_iteration(NULL,FALSE)); |
11 |
} |
12 |
@@ -853,7 +853,7 @@ |
13 |
|
14 |
g_free(com); |
15 |
|
16 |
- while (mainw->cancelled==CANCEL_NONE&&(info_fd=open(cfile->info_file,O_RDONLY)==-1)) { |
17 |
+ while (mainw->cancelled==CANCEL_NONE&&(info_fd=open(cfile->info_file,O_RDONLY))==-1) { |
18 |
g_usleep(prefs->sleep_time); |
19 |
} |
20 |
|