Pārlūkot izejas kodu

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 pirms 1 gada
vecāks
revīzija
e0d2843c60
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      vncviewer/fltk/theme.cxx

+ 1
- 1
vncviewer/fltk/theme.cxx Parādīt failu

@@ -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);
}

Notiek ielāde…
Atcelt
Saglabāt