mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-20 22:14:19 +01:00
WINGs: actually assign variable
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
c1031965e9
commit
3b71662011
@@ -3299,7 +3299,7 @@ WMSetTextBlockProperties(WMText * tPtr, void *vtb, unsigned int first,
|
|||||||
|
|
||||||
void
|
void
|
||||||
WMGetTextBlockProperties(WMText * tPtr, void *vtb, unsigned int *first,
|
WMGetTextBlockProperties(WMText * tPtr, void *vtb, unsigned int *first,
|
||||||
unsigned int *kanji, unsigned int *underlined, int *script, WMRulerMargins * margins)
|
unsigned int *kanji, unsigned int *underlined, int *script, WMRulerMargins *margins)
|
||||||
{
|
{
|
||||||
TextBlock *tb = (TextBlock *) vtb;
|
TextBlock *tb = (TextBlock *) vtb;
|
||||||
if (!tb)
|
if (!tb)
|
||||||
@@ -3314,7 +3314,7 @@ WMGetTextBlockProperties(WMText * tPtr, void *vtb, unsigned int *first,
|
|||||||
if (script)
|
if (script)
|
||||||
*script = tb->script;
|
*script = tb->script;
|
||||||
if (margins)
|
if (margins)
|
||||||
margins = &tPtr->margins[tb->marginN];
|
*margins = tPtr->margins[tb->marginN];
|
||||||
}
|
}
|
||||||
|
|
||||||
void WMPrependTextBlock(WMText * tPtr, void *vtb)
|
void WMPrependTextBlock(WMText * tPtr, void *vtb)
|
||||||
|
|||||||
Reference in New Issue
Block a user