]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fixed crash on prefs reset; fixed crash on next-leak-spot
authorspog <spog>
Sat, 25 Mar 2006 17:54:30 +0000 (17:54 +0000)
committerspog <spog>
Sat, 25 Mar 2006 17:54:30 +0000 (17:54 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@37 8a3a26a2-13c4-0310-b231-cf6edde360e5

CHANGES
TODO
radiant/main.cpp
radiant/points.cpp

diff --git a/CHANGES b/CHANGES
index 9c9726b3d30e43799099102a8f738b20c2218b71..815e28dde2bf48b84227c2d3acb8228b65c6e708 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,11 @@
 This is the changelog for developers, != changelog for the end user 
 that we distribute with the binaries. (see changelog)
 
 This is the changelog for developers, != changelog for the end user 
 that we distribute with the binaries. (see changelog)
 
+20/03/2006
+SPoG
+- Fixed crash when resetting preferences after startup failure.
+- Fixed crash on next-leak-spot with build-monitoring enabled.
+
 20/03/2006
 SPoG
 - Changed Copy/Paste to work on face textures if any faces are selected.
 20/03/2006
 SPoG
 - Changed Copy/Paste to work on face textures if any faces are selected.
diff --git a/TODO b/TODO
index fc2565e333d655b5f935d6a3dce4601a22dd86b1..bb6c0e2255b97a59867f59928d3cf14238fabd68 100644 (file)
--- a/TODO
+++ b/TODO
@@ -11,7 +11,8 @@ HalfLife: half-life maps saved in q1 map format are not supported - currently ha
 Entity: creating a new entity with all the brushes of another entity selected results in the latter entity having no brushes.
 SConscript: build fails if SETUP=1
 Brush: non-BP auto-texture-fit fails when rotation is 90
 Entity: creating a new entity with all the brushes of another entity selected results in the latter entity having no brushes.
 SConscript: build fails if SETUP=1
 Brush: non-BP auto-texture-fit fails when rotation is 90
-GUII: can't use arrow keys to navigate in camera view when capslock is enabled
+GUI: can't use arrow keys to navigate in camera view when capslock is enabled
+GUI: screensaver causes: gdkgc-win32.c: line 905 (gdk_win32_hdc_get): assertion failed: (win32_gc->hdc == NULL)
 
 
 FEATURES
 
 
 FEATURES
index c9a508337dfe92ae19062ba4e729600d716b5e25..dc764663b4a0307d0129a2ca7619701e1fad6ce3 100644 (file)
@@ -550,9 +550,9 @@ int main (int argc, char* argv[])
   
   remove_global_pid();
 
   
   remove_global_pid();
 
-  create_local_pid();
+  g_Preferences.Init(); // must occur before create_local_pid() to allow preferences to be reset
 
 
-  g_Preferences.Init();
+  create_local_pid();
 
   // in a very particular post-.pid startup
   // we may have the console turned on and want to keep it that way
 
   // in a very particular post-.pid startup
   // we may have the console turned on and want to keep it that way
index 0f50ebdfe535b947d28aef3199c2814c17eabb00..b93e42781d82a04616aa459b98a179e0c5d6c51a 100644 (file)
@@ -391,6 +391,7 @@ void CPointfile::saxEndElement (message_info_t *ctx, const xmlChar *name)
     // we are done
     GenerateDisplayList();
     SceneChangeNotify();
     // we are done
     GenerateDisplayList();
     SceneChangeNotify();
+    s_check_point = begin();
   }
   else if(string_equal(reinterpret_cast<const char*>(name), "point"))
   {
   }
   else if(string_equal(reinterpret_cast<const char*>(name), "point"))
   {