ソースを参照

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年前
コミット
e0d2843c60
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      vncviewer/fltk/theme.cxx

+ 1
- 1
vncviewer/fltk/theme.cxx ファイルの表示

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

読み込み中…
キャンセル
保存