diff options
author | Tom Hacohen <tom@stosb.com> | 2015-02-09 14:02:40 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2015-02-09 14:02:40 +0000 |
commit | 8fbee3fac069f62ce41996fc8f20030ae208ad91 (patch) | |
tree | 4791d3f3ec3ade6d39de5ae772e831d5dca5acc0 /src/lib/eina/eina_file_common.c | |
parent | fb8dfe98cd940acade1b6bfe3f15c202b9757380 (diff) |
Eina tmpstr: remove usage of tmpstr_strlen().
Diffstat (limited to '')
-rw-r--r-- | src/lib/eina/eina_file_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c index 2c2406d939..fe9ab206bb 100644 --- a/src/lib/eina/eina_file_common.c +++ b/src/lib/eina/eina_file_common.c | |||
@@ -353,7 +353,7 @@ eina_file_path_sanitize(const char *path) | |||
353 | if (eina_file_path_relative(path)) | 353 | if (eina_file_path_relative(path)) |
354 | { | 354 | { |
355 | result = eina_file_current_directory_get(path, len); | 355 | result = eina_file_current_directory_get(path, len); |
356 | len = eina_tmpstr_strlen(result) - 1; /* tmpstr lengths include '/0' */ | 356 | len = eina_tmpstr_len(result); |
357 | } | 357 | } |
358 | else | 358 | else |
359 | result = path; | 359 | result = path; |