mirror of https://github.com/BOINC/boinc.git
- API: in txfRenderString, replace non-ASCII chars with ?.
Otherwise it calls abort()! svn path=/trunk/boinc/; revision=20648
This commit is contained in:
parent
6dd7401da7
commit
a60e21ce89
|
@ -518,6 +518,9 @@ void txfRenderGlyph(TexFont * txf, int c){
|
|||
void txfRenderString(TexFont * txf, char *string, int len){
|
||||
int i;
|
||||
for (i = 0; i < len; i++) {
|
||||
if (!isascii(string[i])) {
|
||||
string[i] = '?';
|
||||
}
|
||||
txfRenderGlyph(txf, string[i]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1313,3 +1313,10 @@ David 18 Feb 2010
|
|||
lib/
|
||||
app_ipc.cpp
|
||||
gui_rpc_client_ops.cpp
|
||||
|
||||
David 18 Feb 2010
|
||||
- API: in txfRenderString, replace non-ASCII chars with ?.
|
||||
Otherwise it calls abort()!
|
||||
|
||||
api/
|
||||
texfont.cpp
|
||||
|
|
Loading…
Reference in New Issue