diff -r bf99a9f669d9 -r 300f44b7f0cc Server/MainForm.cs --- a/Server/MainForm.cs Mon Feb 09 20:13:28 2015 +0100 +++ b/Server/MainForm.cs Mon Feb 09 22:47:13 2015 +0100 @@ -246,6 +246,11 @@ if (iDisplay.IsOpen() && iNetworkManager.NetworkListManager.IsConnected && iUpdateCountSinceLastNetworkAnimation==0) { int iconCount=iDisplay.IconCount(Display.TMiniDisplayIconType.EMiniDisplayIconNetworkSignal); + if (iconCount <= 0) + { + //Prevents div by zero and other undefined behavior + return; + } iLastNetworkIconIndex++; iLastNetworkIconIndex = iLastNetworkIconIndex % (iconCount*2); for (int i=0;i