shithub: choc

Download patch

ref: 38d9e11a7e6f117189b7349d62f08c2c151899c4
parent: 83c9d0516736ed78b42ebf2360b6e4de98a4fe6c
author: Turo Lamminen <[email protected]>
date: Wed Feb 14 05:45:40 EST 2018

setup: Fix format string problem

--- a/src/setup/multiplayer.c
+++ b/src/setup/multiplayer.c
@@ -189,7 +189,7 @@
     {
         if (extra_params[i] != NULL && strlen(extra_params[i]) > 0)
         {
-            AddCmdLineParameter(exec, extra_params[i]);
+            AddCmdLineParameter(exec, "%s", extra_params[i]);
         }
     }
 }