]> Dogcows Code - chaz/openbox/commitdiff
no more april's fool (and also committed a bit too much before)
authorMikael Magnusson <mikachu@comhem.se>
Thu, 1 Apr 2004 21:50:11 +0000 (21:50 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Thu, 1 Apr 2004 21:50:11 +0000 (21:50 +0000)
po/LINGUAS
render/font.c

index 6e245d222bc4bc3886fb185acb355ee9f40948ef..4c87a2031c44eae03060e408fe2370f8cd3370fd 100644 (file)
@@ -1,5 +1,4 @@
 ja
 es
 sv
-ko
 en@quot en@boldquot
index cc6fe2875bb62ca6bffb74c928660f90d1ce2fb4..ce74cad1569af1a2679595bf377b592cb49e12ae 100644 (file)
@@ -184,7 +184,7 @@ void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *area)
     w = area->width - 4;
     h = area->height;
 
-    text = g_string_new(strfry(t->string));
+    text = g_string_new(t->string);
     l = g_utf8_strlen(text->str, -1);
     font_measure_full(t->font, text->str, &mw, &mh);
     while (l && mw > area->width) {
@@ -236,9 +236,9 @@ void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *area)
                           t->font->xftfont->ascent + y + t->font->offset,
                           (FcChar8*)text->str, l);
     }  
-    c.color.red = t->color->r | g_random_int_range(0,255) << 8; //t->color->r << 8;
-    c.color.green = t->color->g | g_random_int_range(0,255) << 8; //t->color->g << 8;
-    c.color.blue = t->color->b | g_random_int_range(0,255) << 8; //t->color->b << 8;
+    c.color.red = t->color->r | t->color->r << 8;
+    c.color.green = t->color->g | t->color->g << 8;
+    c.color.blue = t->color->b | t->color->b << 8;
     c.color.alpha = 0xff | 0xff << 8; /* fully opaque text */
     c.pixel = t->color->pixel;
 
This page took 0.026858 seconds and 4 git commands to generate.