소스 검색

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

Loading…
취소
저장