mirror of
https://github.com/cc65/cc65.git
synced 2025-02-04 13:32:54 +00:00
Translate chars returned by .strat into the target charset
git-svn-id: svn://svn.cc65.org/cc65/trunk@509 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d2e5de4270
commit
a5d8a5a94f
@ -364,8 +364,10 @@ static int FuncStrAt (void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return the char, handle as unsigned */
|
/* Return the char, handle as unsigned. Be sure to translate it into
|
||||||
return (unsigned char) Str[(size_t)Index];
|
* the target character set.
|
||||||
|
*/
|
||||||
|
return (unsigned char) TgtTranslateChar (Str [(size_t)Index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user