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){
|
void txfRenderString(TexFont * txf, char *string, int len){
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < len; i++) {
|
for (i = 0; i < len; i++) {
|
||||||
|
if (!isascii(string[i])) {
|
||||||
|
string[i] = '?';
|
||||||
|
}
|
||||||
txfRenderGlyph(txf, string[i]);
|
txfRenderGlyph(txf, string[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1313,3 +1313,10 @@ David 18 Feb 2010
|
||||||
lib/
|
lib/
|
||||||
app_ipc.cpp
|
app_ipc.cpp
|
||||||
gui_rpc_client_ops.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