summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/text.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/text.c b/src/text.c
index d8d1bbd..cb539f7 100644
--- a/src/text.c
+++ b/src/text.c
@@ -574,6 +574,8 @@ int ltextSetTextLineSpacing( lua_State* L ) {
state->lineSpacing = spacing;
SetTextLineSpacing( spacing );
+
+ return 0;
}
/*
@@ -585,6 +587,8 @@ Get vertical line spacing when drawing with line-breaks
*/
int ltextGetTextLineSpacing( lua_State* L ) {
lua_pushinteger( L, state->lineSpacing );
+
+ return 1;
}
/*