Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES
git-svn-id: svn://svn.cc65.org/cc65/trunk@4467 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -51,6 +51,6 @@ msg4: .asciiz "Mode not supported by driver"
|
||||
msg5: .asciiz "Invalid function argument"
|
||||
msg6: .asciiz "Function not supported"
|
||||
msg7: .asciiz "Invalid font file"
|
||||
msg8: .asciiz "Out of memory"
|
||||
msg8: .asciiz "Out of resources"
|
||||
msg9: .asciiz "Unknown error"
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ const tgi_vectorfont* __fastcall__ tgi_load_vectorfont (const char* name)
|
||||
Font = malloc (H.size);
|
||||
if (Font == 0) {
|
||||
/* Out of memory */
|
||||
tgi_error = TGI_ERR_NO_MEM;
|
||||
tgi_error = TGI_ERR_NO_RES;
|
||||
goto LoadError;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user