[ekiga] Echo cancellation should not be migrated on the first execution



commit 58da567c0525eaf7a653328bf857b6eaffccf24e
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed Oct 17 10:59:28 2012 +0200

    Echo cancellation should not be migrated on the first execution

 src/gui/conf.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/conf.cpp b/src/gui/conf.cpp
index 0d10085..cea9fa0 100644
--- a/src/gui/conf.cpp
+++ b/src/gui/conf.cpp
@@ -184,7 +184,7 @@ gnomemeeting_conf_upgrade ()
                       ! gm_conf_get_bool (NAT_KEY "disable_stun"));
 
   // migrate from cancelation to cancellation
-  if (version <= 3031)
+  if (version > 0 && version <= 3031)
     gm_conf_set_bool (AUDIO_CODECS_KEY "enable_echo_cancellation",
                       gm_conf_get_bool (AUDIO_CODECS_KEY "enable_echo_cancelation"));
 



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