diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx index 57edf69a6..bd072ffa8 100644 --- a/src/gl_draw.cxx +++ b/src/gl_draw.cxx @@ -210,7 +210,7 @@ void gl_draw(const char* str, int n) { if (!gl_fontsize->glok[r]) get_list(r); } #endif - glCallLists(n, GL_UNSIGNED_SHORT, buf); + glCallLists(wn, GL_UNSIGNED_SHORT, buf); #endif }