commit 4ebd9e919daa22df274f7678eeea52537f9060aa
parent ccfb045c7631d50e404a6c9d40c413c55c1ee073
Author: hackrid <hack.rid@gmail.com>
Date: Fri, 8 Apr 2016 15:20:32 +0200
bug fix:
gui scaling argument evaluated even if not available
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cnping.c b/cnping.c
@@ -247,7 +247,7 @@ int main( int argc, const char ** argv )
pinghost = argv[1];
pingperiod = (argc>=3)?atof( argv[2] ):.02;
- GuiYScaleFactor = (argc>=4)?atof( argv[4] ):1;
+ GuiYScaleFactor = (argc>4)?atof( argv[4] ):1;
OGCreateThread( PingSend, 0 );
OGCreateThread( PingListen, 0 );