]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/commands.cpp
fix some more crashes (on OS X only)
[xonotic/netradiant.git] / radiant / commands.cpp
index f94f2a3304632844b731e6a23287e5c2ef3966ca..9e372bab3de96ade711960daf2616a53133d7603 100644 (file)
@@ -212,7 +212,11 @@ void DoCommandListDlg()
  
             if(!m_commandList.failed())
             {
-              m_commandList << makeLeftJustified(name, 25) << " " << modifiers.c_str() << '\n';
+              int l = strlen(name);
+              m_commandList << name;
+              while(l++ < 25)
+               m_commandList << ' ';
+              m_commandList << modifiers.c_str() << '\n';
             }
           }
         } visitor(path.c_str(), store);