mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-25 08:07:10 +00:00
fixed an Android bug with text rendering
This commit is contained in:
1 parent
1dc11ed271
commit
4fd851887d
1 file changed
+1
-1
+1
-1
@@ -865,7 +865,7 @@ EX bool displaychr(int x, int y, int shift, int size, char chr, color_t col) {
|
||||
|
||||
void gdpush_utf8(const string& s) {
|
||||
int g = (int) graphdata.size(), q = 0;
|
||||
gdpush((int) s.size()); for(int i=0; i<isize(s); i++) {
|
||||
gdpush((int) s.size()); for(int i=0; i<isize(s);) {
|
||||
int u;
|
||||
tie(u, i) = unicode_value(s, i);
|
||||
gdpush(u); q++;
|
||||
|
||||
Reference in new issue
Block a user