Przeglądaj źródła

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 rok temu
rodzic
commit
e0d2843c60
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      vncviewer/fltk/theme.cxx

+ 1
- 1
vncviewer/fltk/theme.cxx Wyświetl plik

@@ -81,7 +81,7 @@ void init_theme()
CFStringGetCString(name, font_name, sizeof(font_name),
kCFStringEncodingUTF8);

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

CFRelease(name);
}

Ładowanie…
Anuluj
Zapisz