Mercurial > otakunoraifu
comparison font/font_peer_ft2.cc @ 47:5f548e5957a8
* get rid of the "deprecated conversion from string constant to ‘char*’" warnings
author | thib |
---|---|
date | Wed, 15 Apr 2009 20:26:32 +0000 |
parents | 223b71206888 |
children | 15a18fbe6f21 |
comparison
equal
deleted
inserted
replaced
46:3aa3d244ad90 | 47:5f548e5957a8 |
---|---|
47 int num_paths; | 47 int num_paths; |
48 } FontLibrary; | 48 } FontLibrary; |
49 | 49 |
50 static FontLibrary *library = NULL; | 50 static FontLibrary *library = NULL; |
51 | 51 |
52 static char *default_paths[] = { | 52 static const char *default_paths[] = { |
53 ".", | 53 ".", |
54 "/", | 54 "/", |
55 "/usr/X11R6/lib/X11/fonts/TrueType", | 55 "/usr/X11R6/lib/X11/fonts/TrueType", |
56 "/usr/local/share/fonts/TrueType", | 56 "/usr/local/share/fonts/TrueType", |
57 "/usr//share/fonts/TrueType", | 57 "/usr//share/fonts/TrueType", |