beautify the lables, cuz then its more beautiful

This commit is contained in:
The Arrayser 2022-08-28 13:56:45 +02:00 committed by GitHub
parent 8cbc6b5c46
commit 5a310bed7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,11 +63,11 @@ sus_File sus_fileOpenInMem(char * fileName, unsigned long parameter){
//} //}
//return currentAdress; //return currentAdress;
cleanup3: cleanup3:
CloseHandle(currentFile->fileMapHandle); CloseHandle(currentFile->fileMapHandle);
cleanup2: cleanup2:
CloseHandle(currentFile->fileHandle); CloseHandle(currentFile->fileHandle);
cleanup1: cleanup1:
sus_heapFree(currentFile); sus_heapFree(currentFile);
return NULL; return NULL;
@ -161,10 +161,10 @@ void * sus_fileResize(sus_File file, signed long appendBytes){
} }
return file->memroy; return file->memroy;
cleanup3: cleanup3:
CloseHandle(file->fileMapHandle); CloseHandle(file->fileMapHandle);
file->fileMapHandle = NULL; file->fileMapHandle = NULL;
cleanup2: cleanup2:
CloseHandle(file->fileHandle); CloseHandle(file->fileHandle);
file->fileHandle = NULL; file->fileHandle = NULL;
//sus_heapFree(file); //sus_heapFree(file);