Subversion Repositories filter_foundry

Rev

Rev 459 | Rev 492 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 459 Rev 482
Line 71... Line 71...
71
        }
71
        }
72
        if (res == -1) {
72
        if (res == -1) {
73
                TCHAR s[0x300];
73
                TCHAR s[0x300];
74
                xstrcpy(s, (TCHAR*)TEXT("DialogBoxParam failed: "));
74
                xstrcpy(s, (TCHAR*)TEXT("DialogBoxParam failed: "));
75
                FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), 0, s + xstrlen(s), 0x300 - (DWORD)xstrlen(s), NULL);
75
                FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), 0, s + xstrlen(s), 0x300 - (DWORD)xstrlen(s), NULL);
76
                dbg(&s[0]);
76
                simplealert(&s[0]);
77
        }
77
        }
78
 
78
 
79
        return res == IDOK;
79
        return res == IDOK;
80
}
80
}