summaryrefslogtreecommitdiff
path: root/legacy/eet/src
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-07-15 14:41:15 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-07-15 14:41:15 +0000
commit56f7ba4751e3b4bb40bbcf7f816b70713f395a53 (patch)
treee4b3d8bf83bf2c19fc98ed48d1a7ea89e734a89b /legacy/eet/src
parent1feec2b65e104024851ea75b7adf2179f26c6af0 (diff)
eet: fix common misppellings
Mispellings detected by codespell. SVN revision: 61409
Diffstat (limited to 'legacy/eet/src')
-rw-r--r--legacy/eet/src/examples/eet-file.c10
-rw-r--r--legacy/eet/src/lib/eet_lib.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/legacy/eet/src/examples/eet-file.c b/legacy/eet/src/examples/eet-file.c
index 691e442e9c..017a6cd6bf 100644
--- a/legacy/eet/src/examples/eet-file.c
+++ b/legacy/eet/src/examples/eet-file.c
@@ -56,7 +56,7 @@ create_eet_file(void)
56 eet_write(ef, "/several/strings", buf, sizeof(buf), 1); 56 eet_write(ef, "/several/strings", buf, sizeof(buf), 1);
57 eet_sync(ef); 57 eet_sync(ef);
58 58
59 eet_write(ef, "/some/misterious/data", some_data, sizeof(some_data) - 1, 1); 59 eet_write(ef, "/some/mysterious/data", some_data, sizeof(some_data) - 1, 1);
60 60
61 eet_delete(ef, "/several/strings"); 61 eet_delete(ef, "/several/strings");
62 62
@@ -100,7 +100,7 @@ main(void)
100 free(ret); 100 free(ret);
101 } 101 }
102 102
103 ret = eet_read(ef, "/some/misterious/data", &size); 103 ret = eet_read(ef, "/some/mysterious/data", &size);
104 if (ret) 104 if (ret)
105 { 105 {
106 Eet_File *ef2; 106 Eet_File *ef2;
@@ -108,10 +108,10 @@ main(void)
108 ef2 = eet_memopen_read(ret, size); 108 ef2 = eet_memopen_read(ret, size);
109 109
110 num = eet_num_entries(ef2); 110 num = eet_num_entries(ef2);
111 printf("Misterious data has %d entries\n", num); 111 printf("Mysterious data has %d entries\n", num);
112 112
113 printf("Misterious data:\n%s\n", 113 printf("Mysterious data:\n%s\n",
114 (char *)eet_read_direct(ef2, "/misterious/data", NULL)); 114 (char *)eet_read_direct(ef2, "/mysterious/data", NULL));
115 115
116 eet_close(ef2); 116 eet_close(ef2);
117 117
diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c
index 7b04ff454c..631dcd172d 100644
--- a/legacy/eet/src/lib/eet_lib.c
+++ b/legacy/eet/src/lib/eet_lib.c
@@ -919,7 +919,7 @@ eet_internal_read2(Eet_File *ef)
919 int hash; 919 int hash;
920 int flag; 920 int flag;
921 921
922 /* out directory block is inconsistent - we have oveerun our */ 922 /* out directory block is inconsistent - we have overrun our */
923 /* dynamic block buffer before we finished scanning dir entries */ 923 /* dynamic block buffer before we finished scanning dir entries */
924 efn = malloc(sizeof(Eet_File_Node)); 924 efn = malloc(sizeof(Eet_File_Node));
925 if (eet_test_close(!efn, ef)) 925 if (eet_test_close(!efn, ef))
@@ -1179,7 +1179,7 @@ eet_internal_read1(Eet_File *ef)
1179 1179
1180#define HEADER_SIZE (sizeof(int) * 5) 1180#define HEADER_SIZE (sizeof(int) * 5)
1181 1181
1182 /* out directory block is inconsistent - we have oveerun our */ 1182 /* out directory block is inconsistent - we have overrun our */
1183 /* dynamic block buffer before we finished scanning dir entries */ 1183 /* dynamic block buffer before we finished scanning dir entries */
1184 if (eet_test_close(p + HEADER_SIZE >= (dyn_buf + byte_entries), ef)) 1184 if (eet_test_close(p + HEADER_SIZE >= (dyn_buf + byte_entries), ef))
1185 return NULL; 1185 return NULL;