Fix some style errors

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-10-06 13:50:59 +02:00
parent 1ba7f28d06
commit 9c7ebf55fa
1 changed files with 17 additions and 18 deletions

View File

@ -234,17 +234,17 @@ drawin_moveresize(lua_State *L, int udx, area_t geometry)
} }
else else
{ {
#define DO_drawin_GEOMETRY_CHECK_AND_EMIT(prop) \ #define DO_DRAWIN_GEOMETRY_CHECK_AND_EMIT(prop) \
if(w->geometry.prop != geometry.prop) \ if(w->geometry.prop != geometry.prop) \
{ \ { \
w->geometry.prop = geometry.prop; \ w->geometry.prop = geometry.prop; \
luaA_object_emit_signal(L, udx, "property::" #prop, 0); \ luaA_object_emit_signal(L, udx, "property::" #prop, 0); \
} }
DO_drawin_GEOMETRY_CHECK_AND_EMIT(x) DO_DRAWIN_GEOMETRY_CHECK_AND_EMIT(x)
DO_drawin_GEOMETRY_CHECK_AND_EMIT(y) DO_DRAWIN_GEOMETRY_CHECK_AND_EMIT(y)
DO_drawin_GEOMETRY_CHECK_AND_EMIT(width) DO_DRAWIN_GEOMETRY_CHECK_AND_EMIT(width)
DO_drawin_GEOMETRY_CHECK_AND_EMIT(height) DO_DRAWIN_GEOMETRY_CHECK_AND_EMIT(height)
#undef DO_drawin_GEOMETRY_CHECK_AND_EMIT #undef DO_DRAWIN_GEOMETRY_CHECK_AND_EMIT
} }
} }
@ -441,7 +441,6 @@ luaA_drawin_new(lua_State *L)
return 1; return 1;
} }
/* Set or get the drawin geometry. /* Set or get the drawin geometry.
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.