svnno****@sourc*****
svnno****@sourc*****
Mon Apr 9 10:07:21 JST 2007
Revision: 3156 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3156 Author: ikezoe Date: 2007-04-09 10:07:21 +0900 (Mon, 09 Apr 2007) Log Message: ----------- * src/bookmarks/kz-bookmark-menu-item.c: Fix truncating position. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/bookmarks/kz-bookmark-menu-item.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-04-06 08:36:19 UTC (rev 3155) +++ kazehakase/trunk/ChangeLog 2007-04-09 01:07:21 UTC (rev 3156) @@ -1,3 +1,7 @@ +2007-04-09 Hiroyuki Ikezoe <poinc****@ikezo*****> + + * src/bookmarks/kz-bookmark-menu-item.c: Fix truncating position. + 2007-04-06 Kouhei Sutou <kou****@cozmi*****> * configure.ac (itlocaledir): used same definition of localedir. Modified: kazehakase/trunk/src/bookmarks/kz-bookmark-menu-item.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-bookmark-menu-item.c 2007-04-06 08:36:19 UTC (rev 3155) +++ kazehakase/trunk/src/bookmarks/kz-bookmark-menu-item.c 2007-04-09 01:07:21 UTC (rev 3156) @@ -105,10 +105,10 @@ /* 3 for "..." , 1 for '\0' */ g_utf8_strncpy(short_title , title , bookmark_max_strnum); - short_title[len-3] = '.'; - short_title[len-2] = '.'; - short_title[len-1] = '.'; - short_title[len] = '\0'; + short_title[len] = '.'; + short_title[len+1] = '.'; + short_title[len+2] = '.'; + short_title[len+3] = '\0'; accel_label = gtk_accel_label_new(short_title); } else