[ekiga/gnome-2-26] Cosmetic change



commit 46f7c650a044f93159f347479a290d8b2e7c523e
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed Sep 2 22:43:58 2009 +0200

    Cosmetic change

 lib/gui/gm-text-smiley.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/gui/gm-text-smiley.c b/lib/gui/gm-text-smiley.c
index 2bce596..37cc5ac 100644
--- a/lib/gui/gm-text-smiley.c
+++ b/lib/gui/gm-text-smiley.c
@@ -92,7 +92,7 @@ enhancer_helper_check (G_GNUC_UNUSED GmTextBufferEnhancerHelperIFace* self,
       found_start = found - full_text;
       if ((best_smiley == -1)
           || (found_start < best_start)
-	  || ((found_start <= best_start)
+	  || ((found_start == best_start)
 	      && (strlen (smileys[smiley]) > strlen (smileys[best_smiley])))) {
 
 	best_smiley = smiley;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]