From 63ab86900dfcb02066d0a7c972d8a8c778ac368d Mon Sep 17 00:00:00 2001 From: deadwood Date: Mon, 1 Aug 2016 19:59:16 +0000 Subject: [PATCH] Prefs/ScreenMode: a String object does not support MUIA_Numeric_Value Use MUIA_String_Integer instead git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52820 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/prefs/screenmode/smproperties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/prefs/screenmode/smproperties.c b/workbench/prefs/screenmode/smproperties.c index 42f081b3d9..09a699756a 100644 --- a/workbench/prefs/screenmode/smproperties.c +++ b/workbench/prefs/screenmode/smproperties.c @@ -272,7 +272,7 @@ IPTR ScreenModeProperties__OM_SET(Class *CLASS, Object *self, struct opSet *mess width = data->DefWidth; else { - GetAttr(MUIA_Numeric_Value, data->objWidth, &val); + GetAttr(MUIA_String_Integer, data->objWidth, &val); width = AdjustWidth((LONG)val, data); } -- 2.11.4.GIT