aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/XFontImp.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-06-21 14:41:16 (GMT)
committersimonb <simonb>2006-06-21 14:41:16 (GMT)
commit3ada3b1f0d6d2debaaab48eecf828a406e964c8e (patch)
tree3c2f02462317408ee8604d0c7bb41092ecfd1c3a /src/FbTk/XFontImp.cc
parent62a298b0b30aa5b4990f462aece224e09e4fafe6 (diff)
downloadfluxbox-3ada3b1f0d6d2debaaab48eecf828a406e964c8e.zip
fluxbox-3ada3b1f0d6d2debaaab48eecf828a406e964c8e.tar.bz2
fix nls... notably classify text on conversion whether its for X or
console, plus handle catalogs better.
Diffstat (limited to 'src/FbTk/XFontImp.cc')
-rw-r--r--src/FbTk/XFontImp.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/XFontImp.cc b/src/FbTk/XFontImp.cc
index f356224..7398625 100644
--- a/src/FbTk/XFontImp.cc
+++ b/src/FbTk/XFontImp.cc
@@ -149,7 +149,7 @@ void XFontImp::rotate(FbTk::Orientation orient) {
149 XRotFontStruct *rotfont = m_rotfonts[orient]; 149 XRotFontStruct *rotfont = m_rotfonts[orient];
150 150
151 if (rotfont == 0) { 151 if (rotfont == 0) {
152 cerr<<"RotFont: "<<_FBTKTEXT(Error, OutOfMemory, "Out of memory", "Something couldn't allocate memory")<<endl; 152 cerr<<"RotFont: "<<_FBTK_CONSOLETEXT(Error, OutOfMemory, "Out of memory", "Something couldn't allocate memory")<<endl;
153 return; 153 return;
154 } 154 }
155 155
@@ -215,7 +215,7 @@ void XFontImp::rotate(FbTk::Orientation orient) {
215 vert_w, vert_h, 8, 0); 215 vert_w, vert_h, 8, 0);
216 216
217 if (I1 == None) { 217 if (I1 == None) {
218 cerr << "RotFont: " << _FBTKTEXT(Error, CreateXImage, 218 cerr << "RotFont: " << _FBTK_CONSOLETEXT(Error, CreateXImage,
219 "Can't create XImage", 219 "Can't create XImage",
220 "XCreateImage failed for some reason") 220 "XCreateImage failed for some reason")
221 << "." << endl; 221 << "." << endl;
@@ -257,7 +257,7 @@ void XFontImp::rotate(FbTk::Orientation orient) {
257 (char *)bitdata, bit_w, bit_h, 8, 0); 257 (char *)bitdata, bit_w, bit_h, 8, 0);
258 258
259 if (I2 == None) { 259 if (I2 == None) {
260 cerr << "XFontImp: " <<_FBTKTEXT(Error, CreateXImage, 260 cerr << "XFontImp: " <<_FBTK_CONSOLETEXT(Error, CreateXImage,
261 "Can't create XImage", 261 "Can't create XImage",
262 "XCreateImage failed for some reason") 262 "XCreateImage failed for some reason")
263 << "." << endl; 263 << "." << endl;