mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
update code style
This commit is contained in:
parent
7aedce7c70
commit
022e79d6d3
@ -26,7 +26,7 @@ char* pad_hex(MMRGBHex color){
|
|||||||
// destroyMMBitmap(bitmap);
|
// destroyMMBitmap(bitmap);
|
||||||
|
|
||||||
char* str = (char*)calloc(100, sizeof(char*));
|
char* str = (char*)calloc(100, sizeof(char*));
|
||||||
if(str)strcpy(str, hex);
|
if (str) { strcpy(str, hex); }
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
@ -663,7 +663,7 @@ char* get_title_by_hand(MData m_data){
|
|||||||
char* name = m_data.Title;
|
char* name = m_data.Title;
|
||||||
|
|
||||||
char* str = (char*)calloc(100, sizeof(char*));
|
char* str = (char*)calloc(100, sizeof(char*));
|
||||||
if(str)strcpy(str, name);
|
if (str) { strcpy(str, name); }
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user