Skip to content

Commit 315271c

Browse files
committed
Remove trailing ^Z and empty lines
1 parent 70a7485 commit 315271c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+0
-99
lines changed

applicat.c

-2
Original file line numberDiff line numberDiff line change
@@ -741,5 +741,3 @@ static void SelectTitle(WINDOW wnd)
741741
}
742742

743743
#endif
744-
745-


barchart.c

-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@ void BarChart(WINDOW pwnd)
7272
}
7373
SendMessage(Bwnd, SETFOCUS, TRUE, 0);
7474
}
75-


box.c

-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ int BoxProc(WINDOW wnd, MESSAGE msg, PARAM p1, PARAM p2)
2525
}
2626
return BaseWndProc(BOX, wnd, msg, p1, p2);
2727
}
28-

button.c

-1
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,3 @@ int ButtonProc(WINDOW wnd, MESSAGE msg, PARAM p1, PARAM p2)
8686
}
8787
return BaseWndProc(BUTTON, wnd, msg, p1, p2);
8888
}
89-


calendar.c

-1
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,3 @@ void Calendar(WINDOW pwnd)
163163
}
164164

165165
#endif
166-


checkbox.c

-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ BOOL CheckBoxSetting(DBOX *db, enum commands cmd)
4343
CTLWINDOW *ct = FindCommand(db, cmd, CHECKBOX);
4444
return ct ? (ct->wnd ? (ct->setting==ON) : (ct->isetting==ON)) : FALSE;
4545
}
46-

classdef.h

-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ extern CLASSDEFS classdefs[];
2929
#define HASSTATUSBAR 0x8000
3030

3131
#endif
32-


classes.h

-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,3 @@ ClassDef( EDITOR, EDITBOX, EditorProc, 0 )
5656
/* ---------- pseudo classes to create enums, etc. ---------- */
5757
ClassDef( TITLEBAR, -1, NULL, 0 )
5858
ClassDef( DUMMY, -1, NULL, HASBORDER )
59-


clipbord.c

-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ BOOL PasteText(WINDOW wnd, char *SaveTo, unsigned len)
5050
}
5151
return FALSE;
5252
}
53-


combobox.c

-1
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,3 @@ void PutComboListText(WINDOW wnd, enum commands cmd, char *text)
125125
SendMessage(lwnd, ADDTEXT, (PARAM) text, 0);
126126
}
127127
}
128-


commands.h

-1
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,3 @@ enum commands {
119119
};
120120

121121
#endif
122-


config.c

-1
Original file line numberDiff line numberDiff line change
@@ -529,4 +529,3 @@ void SetReverseColor(WINDOW wnd)
529529
foreground = SelectForeground(wnd);
530530
background = SelectBackground(wnd);
531531
}
532-


config.h

-2
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,3 @@ void SaveConfig(void);
4747
FILE *OpenConfig(char *);
4848

4949
#endif
50-
51-


console.c

-2
Original file line numberDiff line numberDiff line change
@@ -290,5 +290,3 @@ int getdisk(void)
290290
return cd;
291291
}
292292
#endif
293-
294-


decomp.c

-1
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,3 @@ void SeekHelpLine(long offset, int bit)
108108
in8 <<= bit;
109109
}
110110
}
111-

dfalloc.c

-1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ void *DFrealloc(void *block, size_t size)
5858
AllocationError();
5959
return rtn;
6060
}
61-


dflat.doc

-2
Original file line numberDiff line numberDiff line change
@@ -1346,5 +1346,3 @@ MAXTEXTLEN DFLAT.H 65000 Maximum text buffer
13461346
EDITLEN DFLAT.H 1024 Starting length for multiline EDITBOX
13471347
ENTRYLEN DFLAT.H 256 Starting length for single-line EDITBOX
13481348
GROWLENGTH DFLAT.H 64 EDITBOX buffers grow by this much
1349-
1350-

dflat.h

-1
Original file line numberDiff line numberDiff line change
@@ -487,4 +487,3 @@ extern char *ClassNames[];
487487
void BuildFileName(char *path, const char *fn, const char *ext);
488488

489489
#endif
490-

dflatmsg.h

-2
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,3 @@ DFlatMsg(ADDSTATUS)
102102
DFlatMsg(DRAWVECTOR)
103103
DFlatMsg(DRAWBOX)
104104
DFlatMsg(DRAWBAR)
105-
106-


dialbox.c

-1
Original file line numberDiff line numberDiff line change
@@ -805,4 +805,3 @@ void SetFocusCursor(WINDOW wnd)
805805
SendMessage(wnd, KEYBOARD_CURSOR, 1, 0);
806806
}
807807
}
808-


dialbox.h

-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,3 @@ typedef struct {
5353
#define No " No "
5454

5555
#endif
56-


dialogs.c

-3
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,3 @@ DIALOGBOX( HelpBox )
184184
CONTROL(BUTTON, "<< ~Prev ", 20, 0, 1, 8, ID_PREV)
185185
CONTROL(BUTTON, " ~Next >>", 30, 0, 1, 8, ID_NEXT)
186186
ENDDB
187-
188-
189-


direct.c

-2
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,3 @@ void BuildPathDisplay(WINDOW wnd)
193193
SendMessage(lwnd, PAINT, 0, 0);
194194
}
195195
}
196-
197-

editbox.c

-3
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,3 @@ static void SetAnchor(WINDOW wnd, int mx, int my)
11291129
wnd->BlkBegCol = wnd->BlkEndCol = mx;
11301130
SendMessage(wnd, PAINT, 0, 0);
11311131
}
1132-
1133-
1134-


editor.c

-1
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,3 @@ int EditorProc(WINDOW wnd, MESSAGE msg, PARAM p1, PARAM p2)
201201
}
202202
return BaseWndProc(EDITOR, wnd, msg, p1, p2);
203203
}
204-

fileopen.c

-2
Original file line numberDiff line numberDiff line change
@@ -201,5 +201,3 @@ static BOOL IncompleteFilename(char *s)
201201
return TRUE;
202202
return FALSE;
203203
}
204-
205-

helpbox.c

-2
Original file line numberDiff line numberDiff line change
@@ -619,5 +619,3 @@ static void BestFit(WINDOW wnd, DIALOGWINDOW *dwnd)
619619
dwnd->y == GetBottom(wnd)+2)
620620
dwnd->x = -1;
621621
}
622-
623-


helpbox.h

-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ struct helps {
2222
};
2323

2424
#endif
25-

htree.c

-2
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,3 @@ void buildtree(void)
6161
treect++;
6262
}
6363
}
64-
65-


htree.h

-2
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ void *GetHelpLine(char *);
2828
void SeekHelpLine(long, int);
2929

3030
#endif
31-
32-


huffc.c

-1
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,3 @@ static void outbit(FILE *fo, int bit)
116116
out8 = (out8 << 1) | bit;
117117
ct8++;
118118
}
119-


keys.c

-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,3 @@ struct keys keys[] = {
8282
{ALT_Z, "Alt+Z"},
8383
{-1, NULL}
8484
};
85-


keys.h

-1
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,3 @@ struct keys {
143143
extern struct keys keys[];
144144

145145
#endif
146-


listbox.c

-3
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,3 @@ static void near ChangeSelection(WINDOW wnd,int sel,int shift)
468468
WriteSelection(wnd, sel, TRUE, NULL);
469469
}
470470
}
471-
472-
473-


lists.c

-2
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,3 @@ void SkipApplicationControls(void)
121121
break;
122122
}
123123
}
124-
125-


log.c

-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,3 @@ void MessageLog(WINDOW wnd)
6868
}
6969

7070
#endif
71-


makefile.bcc

-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,3 @@ fixhelp.exe : fixhelp.obj decomp.obj
6767
memopad.hlp : memopad.txt huffc.exe fixhelp.exe
6868
huffc memopad.txt memopad.hlp
6969
fixhelp memopad
70-

memopad.c

-2
Original file line numberDiff line numberDiff line change
@@ -596,5 +596,3 @@ void PrepEditMenu(void *w, struct Menu *mnu)
596596
}
597597
}
598598
}
599-
600-

memopad.lnk

-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ box.obj+
4242
spinbutt.obj+
4343
watch.obj+
4444
slidebox.obj+
45-


memopad.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1453,4 +1453,3 @@ Bar Chart
14531453
This window is an example of a bar chart. You
14541454
can close the window from the [..System Menu]<sysmenu>.
14551455
<end>
1456-


menu.c

-1
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ void InvertCommandToggle(MBAR *mn, int cmd)
8383
if (pd != NULL)
8484
pd->Attrib ^= CHECKED;
8585
}
86-


menu.h

-2
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ int MenuHeight(struct PopDown *);
6060
int MenuWidth(struct PopDown *);
6161

6262
#endif
63-
64-


menubar.c

-2
Original file line numberDiff line numberDiff line change
@@ -407,5 +407,3 @@ static WINDOW GetDocFocus(void)
407407
}
408408
return wnd ? wnd : ApplicationWindow;
409409
}
410-
411-


menus.c

-2
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,3 @@ DEFMENU(SystemMenu)
119119
SELECTION("~Close", ID_SYSCLOSE, CTRL_F4, 0 )
120120
ENDPOPDOWN
121121
ENDMENU
122-
123-


message.c

-2
Original file line numberDiff line numberDiff line change
@@ -643,5 +643,3 @@ BOOL dispatch_message(void)
643643
}
644644
return TRUE;
645645
}
646-
647-

mouse.c

-2
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,3 @@ void set_mousetravel(int minx, int maxx, int miny, int maxy)
107107
mouse(8, 0, miny*8, maxy*8);
108108
}
109109
}
110-
111-


msgbox.c

-1
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,3 @@ int MsgWidth(char *msg)
209209
}
210210
return min(max(strlen(msg),w), SCREENWIDTH-10);
211211
}
212-


normal.c

-4
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,3 @@ BOOL isAncestor(WINDOW wnd, WINDOW awnd)
11101110
}
11111111
return FALSE;
11121112
}
1113-
1114-
1115-
1116-


pictbox.c

-1
Original file line numberDiff line numberDiff line change
@@ -280,4 +280,3 @@ void DrawBar(WINDOW wnd,enum VectTypes vt,
280280
RECT rc = PictureRect(x,y,len,hv);
281281
SendMessage(wnd, DRAWBAR, (PARAM) &rc, (PARAM) vt);
282282
}
283-


popdown.c

-2
Original file line numberDiff line numberDiff line change
@@ -391,5 +391,3 @@ int CopyCommand(unsigned char *dest, unsigned char *src,
391391
}
392392
return (int) (dest - d);
393393
}
394-
395-


radio.c

-1
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,3 @@ BOOL RadioButtonSetting(DBOX *db, enum commands cmd)
110110
CTLWINDOW *ct = FindCommand(db, cmd, RADIOBUTTON);
111111
return ct ? (ct->wnd ? (ct->setting==ON) : (ct->isetting==ON)) : FALSE;
112112
}
113-

readme.doc

-3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,3 @@ Buy the DDJ CD-ROM from Miller-Freeman to get the complete D-Flat
9999
narrative from May '91 to October '92. These columns describe the
100100
development of D-Flat and serve as a tutorial on its use. The D-Flat
101101
reference manual is DFLAT.DOC.
102-
103-
104-

rect.c

-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@ RECT ClipRectangle(void *wnd, RECT rc)
9292
rc = subRectangle(rc, ClientRect(wnd));
9393
return subRectangle(rc, sr);
9494
}
95-


rect.h

-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ RECT ClientRect(void *);
2222
RECT RelativeWindowRect(void *, RECT);
2323
RECT ClipRectangle(void *, RECT);
2424
#endif
25-


search.c

-1
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,3 @@ void SearchNext(WINDOW wnd)
166166
{
167167
SearchTextBox(wnd, TRUE);
168168
}
169-

slidebox.c

-1
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,3 @@ WINDOW SliderBox(int len, char *ttl, char *msg)
109109
DialogBox(NULL, &SliderBoxDB, FALSE, SliderBoxProc);
110110
return SliderBoxDB.ctl[1].wnd;
111111
}
112-


spinbutt.c

-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ int SpinButtonProc(WINDOW wnd, MESSAGE msg, PARAM p1, PARAM p2)
4444
}
4545
return BaseWndProc(SPINBUTTON, wnd, msg, p1, p2);
4646
}
47-


statbar.c

-2
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,3 @@ int StatusBarProc(WINDOW wnd, MESSAGE msg, PARAM p1, PARAM p2)
5353
}
5454
return BaseWndProc(STATUSBAR, wnd, msg, p1, p2);
5555
}
56-
57-


sysmenu.c

-1
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,3 @@ void BuildSystemMenu(WINDOW wnd)
104104
SendMessage(SystemMenuWnd, SETFOCUS, TRUE, 0);
105105
SendMessage(SystemMenuWnd, SHOW_WINDOW, 0, 0);
106106
}
107-


system.h

-1
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,3 @@ typedef enum window_class {
170170
} CLASS;
171171

172172
#endif
173-


text.c

-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ int TextProc(WINDOW wnd, MESSAGE msg, PARAM p1, PARAM p2)
4747
}
4848
return BaseWndProc(TEXT, wnd, msg, p1, p2);
4949
}
50-


textbox.c

-2
Original file line numberDiff line numberDiff line change
@@ -881,5 +881,3 @@ int TextLineNumber(WINDOW wnd, char *lp)
881881
}
882882
return lineno-1;
883883
}
884-
885-

video.c

-2
Original file line numberDiff line numberDiff line change
@@ -289,5 +289,3 @@ static void near vpoke(int far *vp, int c)
289289
waitforretrace();
290290
*vp = c;
291291
}
292-
293-


video.h

-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ void scroll_window(WINDOW, RECT, int);
2323
#define videochar(x,y) (GetVideoChar(x,y) & 255)
2424

2525
#endif
26-


watch.c

-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@ WINDOW WatchIcon(void)
6363
VISIBLE | HASBORDER | SHADOW | SAVESELF);
6464
return wnd;
6565
}
66-


window.c

-2
Original file line numberDiff line numberDiff line change
@@ -523,5 +523,3 @@ void PutWindowLine(WINDOW wnd, void *s, int x, int y)
523523
*en = sv;
524524
}
525525
}
526-
527-


0 commit comments

Comments
 (0)