eina_btlog: handle objective-c class methods

Class methods signatures start with a '+'.
This commit is contained in:
Jean Guyomarc'h 2016-05-28 22:45:01 +02:00
parent 37adb060dd
commit aedeca0ed2
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ _atos(const char *bin_dir, const char *bin_name, unsigned long long addr,
/* Default value, used as a fallback when cannot be determined */
*file_line = -1;
if (*s == '-') /* objc method... will contain an extra space */
if ((*s == '-') || (*s == '+')) /* objc methods... will contain an extra space */
func_space_count = 2;
else
func_space_count = 1;