Ran indent.sh on emitter.c & tuxpaint.c
This commit is contained in:
parent
340e243cf6
commit
e70f80c831
2 changed files with 5 additions and 3 deletions
|
|
@ -282,7 +282,8 @@ char *emitter_get_description(magic_api *api ATTRIBUTE_UNUSED, int which, int mo
|
||||||
}
|
}
|
||||||
|
|
||||||
void emitter_drag(magic_api *api, int which, SDL_Surface *canvas,
|
void emitter_drag(magic_api *api, int which, SDL_Surface *canvas,
|
||||||
SDL_Surface *last, int ox ATTRIBUTE_UNUSED, int oy ATTRIBUTE_UNUSED, int x, int y, SDL_Rect *update_rect)
|
SDL_Surface *last, int ox ATTRIBUTE_UNUSED, int oy ATTRIBUTE_UNUSED, int x, int y,
|
||||||
|
SDL_Rect *update_rect)
|
||||||
{
|
{
|
||||||
int i, img;
|
int i, img;
|
||||||
SDL_Surface *tmpSurf, *srcSurf;
|
SDL_Surface *tmpSurf, *srcSurf;
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
(See COPYING.txt)
|
(See COPYING.txt)
|
||||||
|
|
||||||
June 14, 2002 - March 27, 2025
|
June 14, 2002 - April 19, 2025
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
@ -3181,7 +3181,7 @@ static void mainloop(void)
|
||||||
if (tmp != NULL)
|
if (tmp != NULL)
|
||||||
{
|
{
|
||||||
int exceeded;
|
int exceeded;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
mbstowcs(tmp, pasted_txt, n); /* at most n wchar_t written */
|
mbstowcs(tmp, pasted_txt, n); /* at most n wchar_t written */
|
||||||
exceeded = 0;
|
exceeded = 0;
|
||||||
|
|
@ -14357,6 +14357,7 @@ static SDL_Surface *load_starter_helper(char *path_and_basename,
|
||||||
char fname[256];
|
char fname[256];
|
||||||
SDL_Surface *surf;
|
SDL_Surface *surf;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
#ifndef __ANDROID__
|
#ifndef __ANDROID__
|
||||||
struct stat stat_buf;
|
struct stat stat_buf;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue