mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-10 18:45:47 +01:00
WINGs: Small assorted formatting changes
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
02de600ecd
commit
51236308d2
@@ -478,7 +478,7 @@ static void registerDescriptionList(WMScreen * scr, WMView * view, WMArray * ope
|
||||
|
||||
/* size of XA_STRING info */
|
||||
for (i = 0; i < count; i++) {
|
||||
size += strlen(WMGetDragOperationItemText(WMGetFromArray(operationArray, i))) + 1; /* +1 = +NULL */
|
||||
size += strlen(WMGetDragOperationItemText(WMGetFromArray(operationArray, i))) + 1 /* NULL */;
|
||||
}
|
||||
|
||||
/* create text list */
|
||||
|
||||
@@ -649,7 +649,8 @@ void WMAddSplitViewSubview(WMSplitView * sPtr, WMView * subview)
|
||||
|
||||
CHECK_CLASS(sPtr, WC_SplitView);
|
||||
|
||||
if (!(p = (W_SplitViewSubview *) wmalloc(sizeof(W_SplitViewSubview))))
|
||||
p = (W_SplitViewSubview *) wmalloc(sizeof(W_SplitViewSubview));
|
||||
if (!p)
|
||||
return;
|
||||
|
||||
wasMapped = subview->flags.mapped;
|
||||
|
||||
Reference in New Issue
Block a user