From a396ecc22f9d6cfd215d02fc0e7b8335738f035d Mon Sep 17 00:00:00 2001 From: rbdpngn Date: Sun, 20 Mar 2005 06:32:06 +0000 Subject: [PATCH] Spaces in macro calls cause Apple's cpp to insert those spaces in the result. #define IMAGE(TYPE, NAME) TYPE: "button"NAME".png" IMAGE(normal, "foo"); Results in: normal: "button" "foo"".png" Which edje_cc cannot parse correctly as it views this as 2 arguments to the normal keyword. SVN revision: 13797 --- data/themes/default_border.edc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/themes/default_border.edc b/data/themes/default_border.edc index 8a2f76ca8..7fd267dff 100644 --- a/data/themes/default_border.edc +++ b/data/themes/default_border.edc @@ -184,7 +184,7 @@ group { \ } \ } \ } \ - BORDER_BUTTON("button", TYPE, 0.0, 0.0, -3, -3, "whole", 1.0, 1.0, 2, 2, "whole") \ + BORDER_BUTTON("button",TYPE,0.0,0.0,-3,-3,"whole",1.0,1.0,2,2,"whole") \ } \ } @@ -906,9 +906,9 @@ group { } } - BORDER_BUTTON("button_0", "close", 0.0, 0.0, 0, 0, "whole", 1.0, 0.0, -1, 23, "whole") - BORDER_BUTTON("button_1", "maximize", 0.0, 0.0, 3, 0, "button_0", 0.0, 1.0, 3, -1, "button_0") - BORDER_BUTTON("button_2", "minimize", 0.0, 0.0, 3, 0, "button_1", 0.0, 1.0, 3, -1, "button_1") + BORDER_BUTTON("button_0","close",0.0,0.0, 0,0,"whole",1.0,0.0,-1,23,"whole") + BORDER_BUTTON("button_1","maximize",0.0,0.0,3,0,"button_0",0.0,1.0,3,-1,"button_0") + BORDER_BUTTON("button_2","minimize",0.0,0.0,3,0,"button_1",0.0,1.0,3,-1,"button_1") part { name: "icon";