mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
update code style
This commit is contained in:
parent
a62a48767d
commit
8b1854cac7
@ -155,7 +155,9 @@ MMBitmapRef bitmap_from_string(const char *str){
|
||||
MMBitmapRef bitmap;
|
||||
MMBMPStringError err;
|
||||
|
||||
if ((bitmap = createMMBitmapFromString((unsigned char*)str, len, &err)) == NULL) {
|
||||
if ((bitmap = createMMBitmapFromString(
|
||||
(unsigned char*)str, len, &err))
|
||||
== NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
/* Displays alert with given attributes, and blocks execution until the user
|
||||
* responds. Returns 0 if defaultButton was pressed, 1 if cancelButton was
|
||||
* pressed, or -1 if an error occurred. */
|
||||
int showAlert(const char *title, const char *msg, const char *defaultButton,
|
||||
const char *cancelButton);
|
||||
int showAlert(const char *title, const char *msg,
|
||||
const char *defaultButton, const char *cancelButton);
|
||||
|
||||
#endif /* ALERT_H */
|
||||
|
@ -11,8 +11,8 @@
|
||||
#include "alert_c.h"
|
||||
#include "window.h"
|
||||
|
||||
int show_alert(const char *title, const char *msg, const char *defaultButton,
|
||||
const char *cancelButton){
|
||||
int show_alert(const char *title, const char *msg,
|
||||
const char *defaultButton, const char *cancelButton){
|
||||
int alert = showAlert(title, msg, defaultButton, cancelButton);
|
||||
|
||||
return alert;
|
||||
|
Loading…
Reference in New Issue
Block a user