if( -> if (

This commit is contained in:
o9000
2015-08-08 08:51:44 +02:00
parent 03dd8b8483
commit 00a1803348
6 changed files with 25 additions and 25 deletions

View File

@@ -20,15 +20,15 @@
/*
void fxfree(void** ptr){
if(*ptr){
if (*ptr){
free(*ptr);
*ptr=NULL;
}
}
FXint fxmalloc(void** ptr,unsigned long size){
*ptr=NULL;
if(size!=0){
if((*ptr=malloc(size))==NULL) return FALSE;
if (size!=0){
if ((*ptr=malloc(size))==NULL) return FALSE;
}
return TRUE;
}