mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-16 22:25:56 +01:00
- fixed problem with WINGs based apps exiting with a "X_RotateProperties"
related error when text was selected in a textfiled (this included WPrefs.app and Window Maker itself). - replaced some malloc's with wmalloc's
This commit is contained in:
@@ -674,7 +674,7 @@ didResizeTextField(W_ViewDelegate *self, WMView *view)
|
||||
tPtr->offsetWidth =
|
||||
WMAX((tPtr->view->size.height - WMFontHeight(tPtr->font))/2, 1);
|
||||
|
||||
tPtr->usableWidth = tPtr->view->size.width - 2*tPtr->offsetWidth + 2;
|
||||
tPtr->usableWidth = tPtr->view->size.width - 2*tPtr->offsetWidth /*+ 2*/;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user