summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-07-07 21:45:12 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2015-07-07 21:45:12 +0200
commit3864146c99d8e0a4dadd146037e21e0b3d9e2edc (patch)
treebdc63924916b4acc8e4317061caf16d62ffc98c8
parent62607955c2ab980ff880d25e872bb98fb723fb6a (diff)
Add debugging output to the titlebar transformtitlebardebug
-rw-r--r--src/bin/titlebar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/titlebar.c b/src/bin/titlebar.c
index 282bf59..d1ae219 100644
--- a/src/bin/titlebar.c
+++ b/src/bin/titlebar.c
@@ -21,6 +21,7 @@ _path_transform(const char *text)
21 int c = 0; 21 int c = 0;
22 const char *result; 22 const char *result;
23 23
24 printf(">>>splitting %s\n", text);
24 //split for / 25 //split for /
25 parts = eina_str_split(text, SEP, 0); 26 parts = eina_str_split(text, SEP, 0);
26 27
@@ -31,6 +32,7 @@ _path_transform(const char *text)
31 32
32 for(c = 0;parts[c]; c++) 33 for(c = 0;parts[c]; c++)
33 { 34 {
35 printf(">>>part %s\n", parts[c]);
34 char part[PATH_MAX]; 36 char part[PATH_MAX];
35 const char *dirr; 37 const char *dirr;
36 38
@@ -41,6 +43,7 @@ _path_transform(const char *text)
41 eina_strbuf_append(dir, "/"); 43 eina_strbuf_append(dir, "/");
42 eina_strbuf_append(dir, parts[c]); 44 eina_strbuf_append(dir, parts[c]);
43 dirr = eina_strbuf_string_get(dir); 45 dirr = eina_strbuf_string_get(dir);
46 printf(">>>current dir %s\n", dirr);
44 47
45 if (!dir_break && ecore_file_exists(dirr)) 48 if (!dir_break && ecore_file_exists(dirr))
46 { 49 {
@@ -57,6 +60,7 @@ _path_transform(const char *text)
57 } 60 }
58 61
59 result = (eina_strbuf_string_steal(buf)); 62 result = (eina_strbuf_string_steal(buf));
63 printf(">>>result %s\n", result);
60 eina_strbuf_free(buf); 64 eina_strbuf_free(buf);
61 eina_strbuf_free(dir); 65 eina_strbuf_free(dir);
62 free(parts); 66 free(parts);