changeset 2599:37c7a3dbb212 trunk

[svn] - bug fix for dfa_validate_utf8().
author yaz
date Thu, 01 Mar 2007 20:00:06 -0800
parents 472496186cfa
children a70b094b5a3c
files ChangeLog src/audacious/build_stamp.c src/libguess/guess.c
diffstat 3 files changed, 15 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Mar 01 08:47:28 2007 -0800
+++ b/ChangeLog	Thu Mar 01 20:00:06 2007 -0800
@@ -1,3 +1,11 @@
+2007-03-01 16:47:28 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4206]
+  - how about <Shift>A for Clear A-B?
+  
+  trunk/src/audacious/ui_manager.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-03-01 16:22:32 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4204]
   - correct a keyboard shortcut collision. closes #824.
--- a/src/audacious/build_stamp.c	Thu Mar 01 08:47:28 2007 -0800
+++ b/src/audacious/build_stamp.c	Thu Mar 01 20:00:06 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070301-4204";
+const gchar *svn_stamp = "20070301-4206";
--- a/src/libguess/guess.c	Thu Mar 01 08:47:28 2007 -0800
+++ b/src/libguess/guess.c	Thu Mar 01 20:00:06 2007 -0800
@@ -110,9 +110,13 @@
         if (DFA_ALIVE(utf8))
             DFA_NEXT(utf8, c);
         else
-            return 0;
+            break;
     }
-    return 1;
+
+    if(DFA_ALIVE(utf8))
+        return 1;
+    else 
+        return 0;
 }
 
 const char *guess_jp(const char *buf, int buflen)