diff options
Diffstat (limited to 'plugins/TipperYM/src/bitmap_func.cpp')
-rw-r--r-- | plugins/TipperYM/src/bitmap_func.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/bitmap_func.cpp b/plugins/TipperYM/src/bitmap_func.cpp index db3a24e0c7..d10a95c460 100644 --- a/plugins/TipperYM/src/bitmap_func.cpp +++ b/plugins/TipperYM/src/bitmap_func.cpp @@ -175,11 +175,10 @@ void CreateFromBitmaps(bool bServiceTip) rcWidth = skin.iWidth;
rcHeight = skin.iHeight;
}
- else if (i == SKIN_ITEM_SIDEBAR) {
+ else { // SKIN_ITEM_SIDEBAR
rcWidth = opt.iSidebarWidth;
rcHeight = skin.iHeight;
}
- else rcWidth = rcHeight = 0;
// bitmap size
iBmpWidth = FreeImage_GetWidth(fib);
|