diff options
Diffstat (limited to 'linden/indra/llwindow')
-rw-r--r-- | linden/indra/llwindow/llwindowsdl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp index 4dd0550..61ef01d 100644 --- a/linden/indra/llwindow/llwindowsdl.cpp +++ b/linden/indra/llwindow/llwindowsdl.cpp | |||
@@ -2250,6 +2250,7 @@ BOOL LLWindowSDL::dialog_color_picker ( F32 *r, F32 *g, F32 *b) | |||
2250 | GtkColorSelection *colorsel = GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG(win)->colorsel); | 2250 | GtkColorSelection *colorsel = GTK_COLOR_SELECTION (GTK_COLOR_SELECTION_DIALOG(win)->colorsel); |
2251 | 2251 | ||
2252 | GdkColor color, orig_color; | 2252 | GdkColor color, orig_color; |
2253 | orig_color.pixel = 0; | ||
2253 | orig_color.red = guint16(65535 * *r); | 2254 | orig_color.red = guint16(65535 * *r); |
2254 | orig_color.green= guint16(65535 * *g); | 2255 | orig_color.green= guint16(65535 * *g); |
2255 | orig_color.blue = guint16(65535 * *b); | 2256 | orig_color.blue = guint16(65535 * *b); |