Merge remote-tracking branch 'origin/tizen' into new_text
[platform/core/uifw/dali-core.git] / dali / internal / common / dali-hash.cpp
index f154b14..4101414 100644 (file)
@@ -33,7 +33,7 @@ inline void HashShader( const char* string, unsigned long& hash )
 {
   while( int c = *string++ )
   {
-    hash = ((hash << 5) + hash) + c; /* hash * 33 + c */
+    hash = hash * 33 + c;
   }
 }
 } // un-named namespace