raster pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=96b43d79dd0fbf31046cd38dc975ea5b76c5b23f

commit 96b43d79dd0fbf31046cd38dc975ea5b76c5b23f
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Jul 21 18:16:22 2014 +0900

    theme - improve transparency msg formatting with brackets
---
 data/themes/default.edc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/data/themes/default.edc b/data/themes/default.edc
index fdf2455..e758974 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -114,9 +114,9 @@ collections {
          public message(Msg_Type:type, id, ...) {
             new r, g, b, a, v;
 
-            if (type != MSG_INT || id != 1) return;
+            if ((type != MSG_INT) || (id != 1)) return;
 
-            v = getarg(2) * 255 / 100;
+            v = (getarg(2) * 255) / 100;
 
             custom_state(PART:"fade", "default", 0.0);
             get_state_val(PART:"fade", STATE_COLOR, r, g, b, a);
@@ -216,9 +216,9 @@ collections {
          public message(Msg_Type:type, id, ...) {
             new r, g, b, a, v;
 
-            if (type != MSG_INT || id != 1) return;
+            if ((type != MSG_INT) || (id != 1)) return;
 
-            v = getarg(2) * 255 / 100;
+            v = (getarg(2) * 255) / 100;
 
             custom_state(PART:"shadow", "default", 0.0);
             get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a);
@@ -2609,9 +2609,9 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; 
target: "3.clip"; target:
          public message(Msg_Type:type, id, ...) {
             new r, g, b, a, v;
 
-            if (type != MSG_INT || id != 1) return;
+            if ((type != MSG_INT) || (id != 1)) return;
 
-            v = getarg(2) * 255 / 100;
+            v = (getarg(2) * 255) / 100;
 
             custom_state(PART:"shadow", "default", 0.0);
             get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a);

-- 


Reply via email to