From: Alexander G. <ag...@su...> - 2010-03-06 10:44:51
|
While building the linker couldn't find snprintf in the keyboard map application. So let's just use sprintf - should work out too. Signed-off-by: Alexander Graf <ag...@su...> --- src/molelf/keyremap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/molelf/keyremap.c b/src/molelf/keyremap.c index 2db3b95..325de9d 100644 --- a/src/molelf/keyremap.c +++ b/src/molelf/keyremap.c @@ -507,7 +507,7 @@ print_menu_( mtab_t *t, int offs, int active ) modified = 1; } tc.h = offs; - snprintf( buf, 200, "%s %-20s <0>%s \n", + sprintf( buf, "%s %-20s <0>%s \n", (t->cur == i)? active ? "<5>" : "<4>" : "<3>", m->text, modified ? "<0> Modified" : "" ); draw_str( buf ); -- 1.6.0.2 |