--- np2/x11/main.c 2011/01/15 14:37:09 1.32 +++ np2/x11/main.c 2011/01/15 16:10:12 1.34 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.32 2011/01/15 14:37:09 monaka Exp $ */ +/* $Id: main.c,v 1.34 2011/01/15 16:10:12 monaka Exp $ */ /* * Copyright (c) 2003 NONAKA Kimihiro @@ -87,8 +87,6 @@ static void sighandler(int signo) { - UNUSED(signo); - toolkit_widget_quit(); } @@ -177,7 +175,7 @@ main(int argc, char *argv[]) char *env = getenv("HOME"); if (env) { /* base dir */ - snprintf(modulefile, sizeof(modulefile), + g_snprintf(modulefile, sizeof(modulefile), "%s/.%s", env, np2appname); if (stat(modulefile, &sb) < 0) { if (mkdir(modulefile, 0700) < 0) {