bool if enough for true/false results.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-06-03 10:03:30 +00:00
parent 7445e247fe
commit 54e29ef9c1
2 changed files with 4 additions and 4 deletions

View File

@@ -236,7 +236,7 @@ static void read_pnts(FILE *f, int nbytes, lwObject *lwo)
int lw_is_lwobject(const char *lw_file)
bool lw_is_lwobject(const char *lw_file)
{
FILE *f = fopen(lw_file, "rb");
if (f) {
@@ -245,9 +245,9 @@ int lw_is_lwobject(const char *lw_file)
wxInt32 lwob = read_long(f);
fclose(f);
if (form == ID_FORM && nlen != 0 && lwob == ID_LWOB)
return TRUE;
return true;
}
return FALSE;
return false;
}