]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/surface_heretic2/surfacedialog.cpp
apply misc fixes from Markus Fischer and Rambetter
[xonotic/netradiant.git] / plugins / surface_heretic2 / surfacedialog.cpp
index c67fa7c02d265cdd9aa66e7f15fd572a6a24aaee..343ab291675338389675b02726420ba9e317883d 100644 (file)
@@ -29,7 +29,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
 #include <gtk/gtk.h>
-#include <glib/gi18n.h>
 #include <gdk/gdkkeysyms.h>
 
 #include "surfdlg_plugin.h"
@@ -262,7 +261,7 @@ void IsFaceConflicting()
   {
     temp_texdef_face_list = get_texdef_face_list()->next;
 
-    for (temp_texdef_face_list; temp_texdef_face_list; temp_texdef_face_list = temp_texdef_face_list->next)
+    for (; temp_texdef_face_list; temp_texdef_face_list = temp_texdef_face_list->next)
     {
       tmp_texdef = &temp_texdef_face_list->texdef;
       if ( texdef_SI_values.shift[0] != tmp_texdef->shift[0] )