okra pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=669cd788baef50a1545cc6c6f1ca69a81e15ae49

commit 669cd788baef50a1545cc6c6f1ca69a81e15ae49
Author: Stephen Houston <smhousto...@gmail.com>
Date:   Fri Jan 15 19:41:59 2016 -0600

    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".
---
 src/lib/eo/eo_ptr_indirection.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eo/eo_ptr_indirection.h b/src/lib/eo/eo_ptr_indirection.h
index 458d2a0..f2b6f65 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)

-- 


Reply via email to