From 22c5bd5db2d5b0ce1e83f9274249bef59a5d7290 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 16 Apr 2013 11:56:27 +0200 Subject: [PATCH] CComponentsItem: prevent possible compile error Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/df0a454efe2a6c9c1846a9bf8f835ad6222dc73d Author: Thilo Graf Date: 2013-04-16 (Tue, 16 Apr 2013) --- src/gui/components/cc_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_item.cpp b/src/gui/components/cc_item.cpp index ad7190263..15b5970a0 100644 --- a/src/gui/components/cc_item.cpp +++ b/src/gui/components/cc_item.cpp @@ -72,7 +72,7 @@ void CComponentsItem::paintInit(bool do_save_bg) int sw = shadow ? shadow_w : 0; int th = fr_thickness; - int col_frame_cur = col_frame; + fb_pixel_t col_frame_cur = col_frame; if (cc_item_selected){ col_frame_cur = col_frame_sel;