|
|
| version 1.40, 2004/02/18 03:24:48 | version 1.41, 2004/02/18 06:52:34 |
|---|---|
| Line 276 static int flagload(const char *ext, con | Line 276 static int flagload(const char *ext, con |
| winuienter(); | winuienter(); |
| id = IDYES; | id = IDYES; |
| ret = statsave_check(path, buf, sizeof(buf)); | ret = statsave_check(path, buf, sizeof(buf)); |
| if (ret & (~NP2FLAG_DISKCHG)) { | if (ret & (~STATFLAG_DISKCHG)) { |
| MessageBox(hWndMain, "Couldn't restart", title, MB_OK | MB_ICONSTOP); | MessageBox(hWndMain, "Couldn't restart", title, MB_OK | MB_ICONSTOP); |
| id = IDNO; | id = IDNO; |
| } | } |
| else if ((!force) && (ret & NP2FLAG_DISKCHG)) { | else if ((!force) && (ret & STATFLAG_DISKCHG)) { |
| char buf2[1024 + 256]; | char buf2[1024 + 256]; |
| wsprintf(buf2, "Conflict!\n\n%s\nContinue?", buf); | wsprintf(buf2, "Conflict!\n\n%s\nContinue?", buf); |
| id = MessageBox(hWndMain, buf2, title, | id = MessageBox(hWndMain, buf2, title, |