Browse Source

Remove debugging strdup()

This was not meant to be included in the previous commit. The static
storage for the font string is more than enough.
pull/1592/head
Pierre Ossman 1 year ago
parent
commit
e0d2843c60
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      vncviewer/fltk/theme.cxx

+ 1
- 1
vncviewer/fltk/theme.cxx View File

CFStringGetCString(name, font_name, sizeof(font_name), CFStringGetCString(name, font_name, sizeof(font_name),
kCFStringEncodingUTF8); kCFStringEncodingUTF8);


Fl::set_font(FL_HELVETICA, strdup(font_name));
Fl::set_font(FL_HELVETICA, font_name);


CFRelease(name); CFRelease(name);
} }

Loading…
Cancel
Save