]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fixed the crash that occured when the commandline got "too long".
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 19 Dec 2003 16:46:48 +0000 (16:46 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 19 Dec 2003 16:46:48 +0000 (16:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3743 d7cf8633-e32d-0410-b094-e92efae38249

console.c
todo

index a9661cff147a5c8e7f81997079ab47ffa59b596f..fa4a58dcb5125dd642ae6add4c1300b46a082e52 100644 (file)
--- a/console.c
+++ b/console.c
@@ -467,7 +467,7 @@ Modified by EvilTypeGuy eviltypeguy@qeradiant.com
 */
 void Con_DrawInput (void)
 {
-       char editlinecopy[256], *text;
+       char editlinecopy[257], *text;
 
        if (!key_consoleactive)
                return;         // don't draw anything
diff --git a/todo b/todo
index 2376e73c4feceff97770b3d33f0a0fd9134e7433..7196b9b7e7acab3585e573d2f29b7e300f469d40 100644 (file)
--- a/todo
+++ b/todo
@@ -35,6 +35,7 @@
 -n darkplaces: server is starting before the "port" cvar is set by commandline and scripts? (yummyluv)
 -n darkplaces: typing ip in join game menu should show 'trying' and 'no response' after a while, or 'no network' if networking is not initialized (yummyluv)
 -n dpmod: make grapple off-hand (joe hill)
+-n darkplaces: crashes if you type too long a command line in the console (SeienAbunae)
 2 darkplaces: add lan searching to the server browser and related code (Vermeulen)
 4 darkplaces: use larger of model box or collision box for linking into areagrid so that bullet tracing can use the model bounding box instead of the collision one?  (Urre)  
 2 darkplaces: use model box size for SOLID_BSP objects in areagrid linking and such, just for optimal consistency.
@@ -74,7 +75,6 @@ f darkplaces: change particle() macro in cl_particles.c to have a do{}while(0) t
 0 darkplaces: cl_particles_maximum cvar (default 32768) which would change number of particles allowed at once (TheBeast)
 0 darkplaces: clean up the DrawQ_ blendfunc handling, instead of taking DRAWFLAG_ADDITIVE they should take blendfunc values (Black)
 0 darkplaces: client colors are being reset to "15 15" each level in prydon gate? (FrikaC)
-0 darkplaces: crashes if you type too long a command line in the console (SeienAbunae)
 0 darkplaces: darkplaces-glx -path transfusion crashes, fix the crash even though it's not going to work anyway (Todd)
 0 darkplaces: delay "connect" and "playdemo" and "timedemo" until after video init to cause quicker video startup (KrimZon)
 0 darkplaces: document the TEI stuff used in Nexuiz?  check telejano site first (SeienAbunae)