summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2020-07-05 20:19:59 +0200
committerBoris Faure <billiob@gmail.com>2020-07-05 20:19:59 +0200
commit9f2f8464f3b40e14ad5ab657bd2799a6b2291d43 (patch)
tree676ae8d5c01b0bced014eb6a7d7a47af80bfe845
parent3ee79131e49397e38787a07fe70ce8db9c2ff8da (diff)
Fix typos
Summary: Fix some typos. Differential Revision: https://phab.enlightenment.org/D12032
-rw-r--r--src/bin/ipc.c2
-rw-r--r--src/bin/media.c4
-rw-r--r--src/bin/termio.c2
-rw-r--r--src/bin/termiointernals.c2
-rw-r--r--src/bin/termpty.c2
-rw-r--r--src/bin/termptyesc.c2
-rw-r--r--src/bin/tycat.c2
-rw-r--r--src/bin/tyls.c2
8 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/ipc.c b/src/bin/ipc.c
index 110532d..83c16a3 100644
--- a/src/bin/ipc.c
+++ b/src/bin/ipc.c
@@ -34,7 +34,7 @@ _ipc_cb_client_data(void *_data EINA_UNUSED,
34 { 34 {
35 if (func_new_inst) func_new_inst(inst); 35 if (func_new_inst) func_new_inst(inst);
36 // NOTE strings in inst are part of the inst alloc blob and 36 // NOTE strings in inst are part of the inst alloc blob and
37 // dont need separate frees. 37 // don't need separate frees.
38 free(inst); 38 free(inst);
39 } 39 }
40 } 40 }
diff --git a/src/bin/media.c b/src/bin/media.c
index 84e8bb7..6d1e91e 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -224,7 +224,7 @@ _type_thumb_init2(Evas_Object *obj)
224 { 224 {
225 theme = efreet_icon_theme_find(*itr); 225 theme = efreet_icon_theme_find(*itr);
226 if (!theme) continue; 226 if (!theme) continue;
227 //try to fetch the icon, if we dont find it, continue at other themes 227 //try to fetch the icon, if we don't find it, continue at other themes
228 icon_theme = eina_stringshare_add(theme->name.internal); 228 icon_theme = eina_stringshare_add(theme->name.internal);
229 fl = efreet_icon_path_find(icon_theme, sd->realf, sd->iw); 229 fl = efreet_icon_path_find(icon_theme, sd->realf, sd->iw);
230 if (fl) break; 230 if (fl) break;
@@ -573,7 +573,7 @@ _type_edje_init(Evas_Object *obj)
573 int i; 573 int i;
574 const char *groups[] = 574 const char *groups[] =
575 { 575 {
576 "terminology/backgroud", 576 "terminology/background",
577 "e/desktop/background", 577 "e/desktop/background",
578 NULL 578 NULL
579 }; 579 };
diff --git a/src/bin/termio.c b/src/bin/termio.c
index ddf2f99..40de5e7 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -622,7 +622,7 @@ termio_link_get(const Evas_Object *obj,
622 { 622 {
623 // TODO: decode string: %XX -> char 623 // TODO: decode string: %XX -> char
624 link = link + sizeof("file://") - 1; 624 link = link + sizeof("file://") - 1;
625 /* Handle cases where / is ommitted: file://HOSTNAME/home/ */ 625 /* Handle cases where / is omitted: file://HOSTNAME/home/ */
626 if (link[0] != '/') 626 if (link[0] != '/')
627 { 627 {
628 link = strchr(link, '/'); 628 link = strchr(link, '/');
diff --git a/src/bin/termiointernals.c b/src/bin/termiointernals.c
index 6c97ad8..4b37470 100644
--- a/src/bin/termiointernals.c
+++ b/src/bin/termiointernals.c
@@ -88,7 +88,7 @@ termio_selection_get(Termio *sd,
88 if (cells[x].att.tab_inserted) 88 if (cells[x].att.tab_inserted)
89 { 89 {
90 /* There was a tab inserted. 90 /* There was a tab inserted.
91 * Only output it if there were spaces/empty cells "bellow" 91 * Only output it if there were spaces/empty cells "below"
92 */ 92 */
93 Eina_Bool is_tab = EINA_TRUE; 93 Eina_Bool is_tab = EINA_TRUE;
94 while ((is_tab) && (x < end_x)) 94 while ((is_tab) && (x < end_x))
diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 5d0ec45..7736cec 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -67,7 +67,7 @@ termpty_can_handle_key(const Termpty *ty,
67 const Keys_Handler *khdl, 67 const Keys_Handler *khdl,
68 const Evas_Event_Key_Down *ev) 68 const Evas_Event_Key_Down *ev)
69{ 69{
70 // if term app asked for kbd lock - dont handle here 70 // if term app asked for kbd lock - don't handle here
71 if (ty->termstate.kbd_lock) 71 if (ty->termstate.kbd_lock)
72 return EINA_FALSE; 72 return EINA_FALSE;
73 // if app asked us to not do autorepeat - ignore press if is it is the same 73 // if app asked us to not do autorepeat - ignore press if is it is the same
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index fab911d..4965a3b 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -468,7 +468,7 @@ _handle_esc_csi_reset_mode(Termpty *ty, Eina_Unicode cc, Eina_Unicode *b,
468 else ty->mouse_mode = MOUSE_OFF; 468 else ty->mouse_mode = MOUSE_OFF;
469 DBG("set mouse (press+release+all motion) %i", mode); 469 DBG("set mouse (press+release+all motion) %i", mode);
470 break; 470 break;
471 case 1004: // i dont know what focus reporting is? 471 case 1004: // I don't know what focus reporting is?
472 WRN("TODO: enable focus reporting %i", mode); 472 WRN("TODO: enable focus reporting %i", mode);
473 ty->decoding_error = EINA_TRUE; 473 ty->decoding_error = EINA_TRUE;
474 break; 474 break;
diff --git a/src/bin/tycat.c b/src/bin/tycat.c
index 2def982..1db6d0f 100644
--- a/src/bin/tycat.c
+++ b/src/bin/tycat.c
@@ -180,7 +180,7 @@ handle_edje(char *rp)
180 180
181 o = edje_object_add(evas); 181 o = edje_object_add(evas);
182 if (edje_object_file_set 182 if (edje_object_file_set
183 (o, rp, "terminology/backgroud") == EINA_TRUE || 183 (o, rp, "terminology/background") == EINA_TRUE ||
184 !edje_object_file_set 184 !edje_object_file_set
185 (o, rp, "e/desktop/background")) 185 (o, rp, "e/desktop/background"))
186 { 186 {
diff --git a/src/bin/tyls.c b/src/bin/tyls.c
index 2b7639c..effc81c 100644
--- a/src/bin/tyls.c
+++ b/src/bin/tyls.c
@@ -449,7 +449,7 @@ const Cmatch dmatch[] =
449 { 0, 0, 0, 0, 0, 0, NULL, NULL} 449 { 0, 0, 0, 0, 0, 0, NULL, NULL}
450}; 450};
451 451
452// for exectuable files 452// for executable files
453const Cmatch xmatch[] = 453const Cmatch xmatch[] =
454{ 454{
455 { 5, 2, 0, 9, 9, 9, "*.sh", "text-x-script"}, 455 { 5, 2, 0, 9, 9, 9, "*.sh", "text-x-script"},