File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -491,23 +491,23 @@ xy_streql (const char *str1, const char *str2)
491491}
492492
493493static bool
494- xy_streql_ic (const char * str1 , const char * str2 )
494+ xy_streql_ic (const char * str1 , const char * str2 )
495495{
496496 if (NULL == str1 || NULL == str2 )
497497 {
498498 return false;
499499 }
500500
501- size_t len1 = strlen (str1 );
502- size_t len2 = strlen (str2 );
501+ size_t len1 = strlen (str1 );
502+ size_t len2 = strlen (str2 );
503503 if (len1 != len2 )
504504 {
505505 return false;
506506 }
507507
508508 for (size_t i = 0 ; i < len1 ; i ++ )
509509 {
510- if (tolower (str1 [i ]) != tolower (str2 [i ]))
510+ if (tolower (str1 [i ]) != tolower (str2 [i ]))
511511 {
512512 return false;
513513 }
@@ -584,7 +584,7 @@ xy_str_delete_prefix (const char *str, const char *prefix)
584584 bool yes = xy_str_start_with (str , prefix );
585585 if (!yes )
586586 {
587- return xy_strdup (str );
587+ return xy_strdup (str );
588588 }
589589 else
590590 {
@@ -1329,7 +1329,7 @@ xy_detect_os ()
13291329 if (fp )
13301330 {
13311331 char buf [256 ] = {0 };
1332- fread (buf , 1 , sizeof (buf ) - 1 , fp );
1332+ fread (buf , 1 , sizeof (buf ) - 1 , fp );
13331333 fclose (fp );
13341334 if (strstr (buf , "Android" ))
13351335 {
You can’t perform that action at this time.
0 commit comments