fix a bug introduced bey the previous refactorization:

draw_[fb]g_pixel() called draw_pixel() and therefore ssocr_set_imlib_color()
with an incorrect color argument
This commit is contained in:
Erik Auerswald
2008-03-13 13:43:58 +00:00
parent f09969d0fa
commit 45c6196e55
+2 -2
View File
@@ -92,13 +92,13 @@ void draw_pixel(Imlib_Image *image, int x, int y, fg_bg_t color)
/* draw a foreground pixel */
void draw_fg_pixel(Imlib_Image *image, int x, int y)
{
draw_pixel(image, x, y, ssocr_foreground);
draw_pixel(image, x, y, FG);
}
/* draw a background pixel */
void draw_bg_pixel(Imlib_Image *image, int x, int y)
{
draw_pixel(image, x, y, ssocr_background);
draw_pixel(image, x, y, BG);
}
/* check if a pixel is set regarding current foreground/background colors */