X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Fkeysynth-demo.c;h=720773ce2d06c28fddbc5d7fee9d2884bc5c595b;hb=257bed790c2a12491e3b05549f8df7ba18b1f859;hp=305f80507678c4836900d152ca7e29a1e9dbc98c;hpb=fa464f2a2175be1b89d80fb5088c4155b554e14e;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/test/keysynth-demo.c b/test/keysynth-demo.c index 305f805..720773c 100644 --- a/test/keysynth-demo.c +++ b/test/keysynth-demo.c @@ -2,7 +2,8 @@ * AT-SPI - Assistive Technology Service Provider Interface * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) * - * Copyright 2001 Sun Microsystems Inc. + * Copyright 2001, 2002 Sun Microsystems Inc., + * Copyright 2001, 2002 Ximian, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -170,7 +171,6 @@ increment_scan (gpointer data) case SCAN_LINES_DONE: case SCAN_KEYS_DONE: return FALSE; - default: } return TRUE; } @@ -243,7 +243,7 @@ label_buttons(SPIBoolean shifted) /* Note: these routines are not i18n-savvy, we need to use XIM, other methods here */ if (keysym && g_ascii_isprint((int)keysym)) { - snprintf (label, 2, "%c", (int) keysym); + g_snprintf (label, 2, "%c", (int) keysym); } else {