From 40002cd834f438170d1f37243e98d508ae545fea Mon Sep 17 00:00:00 2001 From: NicJA Date: Thu, 31 May 2018 02:59:22 +0000 Subject: [PATCH] move misplaced code so that it is executed correctly git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55205 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/prefs/wanderer/wpeditor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/workbench/prefs/wanderer/wpeditor.c b/workbench/prefs/wanderer/wpeditor.c index 11d57a2248..7981ce9942 100644 --- a/workbench/prefs/wanderer/wpeditor.c +++ b/workbench/prefs/wanderer/wpeditor.c @@ -1,5 +1,5 @@ /* - Copyright 2004-2011, The AROS Development Team. All rights reserved. + Copyright 2004-2018, The AROS Development Team. All rights reserved. This file is part of the Wanderer Preferences program, which is distributed under the terms of version 2 of the GNU General Public License. @@ -718,10 +718,9 @@ D(bug("[WPEditor] WandererPrefs_Hook_CheckImageFunc: Image-type spec (%d) - Enab D(bug("[WPEditor] WandererPrefs_Hook_CheckImageFunc: Existing options @ 0x%p\n", _viewSettings_Current->wpedbo_Options)); } + IPTR DRAWMODEENTRY = 0; switch ((int)_viewSettings_Current->wpedbo_Type) { - IPTR DRAWMODEENTRY = 0; - case 5: { if ((strcmp(_viewSettings_Current->wpedbo_ViewName, "Workbench")) == 0) -- 2.11.4.GIT