diff options
author | Stephen Houston <smhouston88@gmail.com> | 2016-01-15 19:41:59 -0600 |
---|---|---|
committer | Stephen Houston <smhouston88@gmail.com> | 2016-01-15 19:41:59 -0600 |
commit | 669cd788baef50a1545cc6c6f1ca69a81e15ae49 (patch) | |
tree | c36ed68f38d8ed1f43883b0db48deb36d5621af0 | |
parent | 5e53e4b7e1b4f1818866d55922e43834ebfe7dc7 (diff) | |
download | efl-669cd788baef50a1545cc6c6f1ca69a81e15ae49.tar.gz |
Eo: Spell "Class" correctly when printing error.
Leave variables named Klass so it behaves with syntax highlighting and doesn't confuse programmers. However when Erroring, the message should be spelled correctly with "Class".
-rw-r--r-- | src/lib/eo/eo_ptr_indirection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eo/eo_ptr_indirection.h b/src/lib/eo/eo_ptr_indirection.h index 458d2a01c5..f2b6f658d7 100644 --- a/src/lib/eo/eo_ptr_indirection.h +++ b/src/lib/eo/eo_ptr_indirection.h @@ -43,7 +43,7 @@ void _eo_pointer_error(const char *msg); if (!klass_id) return ret; \ klass = _eo_class_pointer_get(klass_id); \ if (!klass) { \ - _EO_POINTER_ERR("Klass (%p) is an invalid ref.", klass_id); \ + _EO_POINTER_ERR("Class (%p) is an invalid ref.", klass_id); \ return ret; \ } \ } while (0) @@ -54,7 +54,7 @@ void _eo_pointer_error(const char *msg); if (!klass_id) return; \ klass = _eo_class_pointer_get(klass_id); \ if (!klass) { \ - _EO_POINTER_ERR("Klass (%p) is an invalid ref.", klass_id); \ + _EO_POINTER_ERR("Class (%p) is an invalid ref.", klass_id); \ return; \ } \ } while (0) |