From 338e05de3d976dbde2b15d09c767588581ca363e Mon Sep 17 00:00:00 2001 From: unodgs Date: Sun, 11 Sep 2011 19:15:35 +0000 Subject: [PATCH] Fixed CH_STYLE to return correct type for "StyleDefault" method if style's type name is other than "Style" git-svn-id: svn://ultimatepp.org/upp/trunk@3856 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Draw/Cham.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Draw/Cham.h b/uppsrc/Draw/Cham.h index cfa8ed8eb..7c10cfbb3 100644 --- a/uppsrc/Draw/Cham.h +++ b/uppsrc/Draw/Cham.h @@ -61,7 +61,7 @@ void COMBINE5(klass, __, type, __, style)::InitIt() { \ klass::style(); \ } \ \ -const klass::Style& klass::style() \ +const klass::type& klass::style() \ { \ static COMBINE5(klass, __, type, __, style) b, standard; \ if(b.status == 0) { \