Skip to content

Commit

Permalink
Convert tabs to spaces (src/h/*.h)
Browse files Browse the repository at this point in the history
  • Loading branch information
Don-Ward committed Mar 8, 2024
1 parent 3047862 commit 70e5e9d
Show file tree
Hide file tree
Showing 35 changed files with 4,163 additions and 4,164 deletions.
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

0 comments on commit 70e5e9d

Please sign in to comment.