summaryrefslogtreecommitdiff
path: root/dgl/src/sofd/libsofd.c
diff options
context:
space:
mode:
Diffstat (limited to 'dgl/src/sofd/libsofd.c')
-rw-r--r--dgl/src/sofd/libsofd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgl/src/sofd/libsofd.c b/dgl/src/sofd/libsofd.c
index fb262160..914a6e29 100644
--- a/dgl/src/sofd/libsofd.c
+++ b/dgl/src/sofd/libsofd.c
@@ -1665,7 +1665,7 @@ static void add_place_raw (Display *dpy, const char *name, const char *path) {
strcpy (_placelist[_placecnt].name, name);
_placelist[_placecnt].flags = 0;
- int sw;
+ int sw = -1;
query_font_geometry (dpy, _fib_gc, name, &sw, NULL, NULL, NULL);
if (sw > _fib_place_width) {
_fib_place_width = sw;