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:
uz
2009-11-13 15:53:01 +00:00
parent e74ed31936
commit 097b094fdd
5 changed files with 8 additions and 13 deletions

View File

@@ -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"

View File

@@ -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;
}