8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 04:03:03 +01:00

Fix windows build

This commit is contained in:
asfernandes 2006-05-20 01:48:05 +00:00
parent 5ab3b469d9
commit f772eae2c8

View File

@ -162,7 +162,7 @@ int WINAPI WinMain(HINSTANCE hThisInst,
{ {
TEXT buffer[BUFFER_LARGE]; TEXT buffer[BUFFER_LARGE];
const ISC_STATUS* vector = 0; const ISC_STATUS* vector = 0;
if (! (e.status_known() && (vector = e.value()) && if (! ((vector = e.value()) &&
fb_interpret(buffer, sizeof(buffer), &vector))) fb_interpret(buffer, sizeof(buffer), &vector)))
{ {
strcpy(buffer, "Unknown internal failure"); strcpy(buffer, "Unknown internal failure");