summaryrefslogtreecommitdiff
path: root/src/cfg_gfx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-24 21:06:21 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-24 21:06:21 +0000
commit12e85b882aedccfae4836dd8c72bd546e1be408e (patch)
tree2fdae63ad6205a0fd96660d104e0ea4b00a8e54b /src/cfg_gfx
parent6a12d167508ec8fb8747e480a12813dbef421586 (diff)
Fixed for Linux
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/cfg_gfx')
-rw-r--r--src/cfg_gfx/opengl_font.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_gfx/opengl_font.cxx b/src/cfg_gfx/opengl_font.cxx
index a42b92394..18c0c2b77 100644
--- a/src/cfg_gfx/opengl_font.cxx
+++ b/src/cfg_gfx/opengl_font.cxx
@@ -95,7 +95,7 @@ void Fl_OpenGL_Graphics_Driver::draw(const char *str, int n, int x, int y)
const char *fd = font_data[(int)c];
if (fd) {
char rendering = 0;
- float px, py;
+ float px=0.0f, py=0.0f;
for (;;) {
char cmd = *fd++;
if (cmd==0) {