[ekiga] Cosmetic change



commit c6797bc60b21e4fcd691ec98c2d77164fcc3fbf9
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]