mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-18 15:35:55 +01:00
- s/sprintf/snprintf
- updated some po's - fixed crash bug when removing WINDOWS_MENU or WORKSPACE_MENU from rootmenu - some other stuff i forgot
This commit is contained in:
@@ -231,10 +231,10 @@ W_PaintTextAndImage(W_View *view, int wrap, GC textGC, W_Font *font,
|
||||
w = view->size.width;
|
||||
h = view->size.height;
|
||||
} else {
|
||||
x = 2;
|
||||
y = 2;
|
||||
w = view->size.width - 4;
|
||||
h = view->size.height - 4;
|
||||
x = 1;
|
||||
y = 1;
|
||||
w = view->size.width - 3;
|
||||
h = view->size.height - 3;
|
||||
}
|
||||
|
||||
/* calc. image alignment */
|
||||
|
||||
Reference in New Issue
Block a user