Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert tabs to spaces (src/h/*.h) #378

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/h/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
*/

struct AudioFile{
int doneflag;
char* fname;
};
int doneflag;
char* fname;
};

typedef struct AudioFile AudioStruct;
typedef struct AudioFile * AudioPtr;
6 changes: 3 additions & 3 deletions src/h/auto.in
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,9 @@
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION

/* Define to 1 if you have the ANSI C header files. */
Expand Down
13 changes: 6 additions & 7 deletions src/h/bgiwin.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,16 +364,15 @@ typedef struct {
#define RECY(rec) (rec).top
#define RECWIDTH(rec) (rec).right
#define RECHEIGHT(rec) (rec).bottom
#define ROWTOY(wb, row) ((row - 1) * (LEADING(wb) + FHEIGHT(wb)) + \
MARGIN + ASCENT(wb))
#define ROWTOY(wb, row) ((row - 1) * (LEADING(wb) + FHEIGHT(wb)) + MARGIN + ASCENT(wb))
#define COLTOX(wb, col) ((col - 1) * FWIDTH(wb) + MARGIN)
#define YTOROW(wb, y) (((y) - MARGIN) / (LEADING(wb) + FHEIGHT(wb)) + 1)
#define XTOCOL(wb, x) (((x) - MARGIN) / FWIDTH(wb))

#define STDLOCALS(w) \
wcp wc = (w)->context;\
wsp ws = (w)->window;
wcp wc = (w)->context;\
wsp ws = (w)->window;

#define TEXTWIDTH(w,s,n) textWidth(w,s,n)
/*
* the bitmasks for the modifier keys
Expand All @@ -383,7 +382,7 @@ typedef struct {
#define ShiftMask (4 << 16)
#define VirtKeyMask (8 << 16)

#define FS_SOLID SOLID_FILL
#define FS_STIPPLE EMPTY_FILL
#define FS_SOLID SOLID_FILL
#define FS_STIPPLE EMPTY_FILL

#define stdwin 0
Loading
Loading