update code style

This commit is contained in:
vcaesar 2019-03-19 11:05:32 -04:00
parent 7aedce7c70
commit 022e79d6d3
2 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ char* pad_hex(MMRGBHex color){
// destroyMMBitmap(bitmap);
char* str = (char*)calloc(100, sizeof(char*));
if(str)strcpy(str, hex);
if (str) { strcpy(str, hex); }
return str;
}

View File

@ -663,7 +663,7 @@ char* get_title_by_hand(MData m_data){
char* name = m_data.Title;
char* str = (char*)calloc(100, sizeof(char*));
if(str)strcpy(str, name);
if (str) { strcpy(str, name); }
return str;
}