Skip to content

Commit

Permalink
update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
vcaesar committed Mar 2, 2018
1 parent a62a487 commit 8b1854c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion bitmap/goBitmap.h
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions window/alert.h
Expand Up @@ -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 */
4 changes: 2 additions & 2 deletions window/goWindow.h
Expand Up @@ -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;
Expand Down

0 comments on commit 8b1854c

Please sign in to comment.