From 326520465c564d4272a88d536505a96fcd5d8286 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 8 Nov 2015 13:43:31 +0100 Subject: [PATCH] Fixed: If frequency is 0, use the first one in list --HG-- branch : develop --- code/ryzom/client/src/misc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/misc.cpp b/code/ryzom/client/src/misc.cpp index e6b15c2d7..775e9cc41 100644 --- a/code/ryzom/client/src/misc.cpp +++ b/code/ryzom/client/src/misc.cpp @@ -1478,7 +1478,8 @@ bool getRyzomModes(std::vector &videoModes, std::vector 0 && freq == ClientCfg.Frequency) + // if frequency is 0, take the first one else use the exact one + if (nFoundStringFreq == -1 && ((ClientCfg.Frequency == 0) || (freq == ClientCfg.Frequency))) { nFoundStringFreq = stringFreqList.size(); }