remove dangling spaces

This commit is contained in:
mrdudz
2022-04-17 16:06:45 +02:00
parent f8f901b05e
commit 299f967527
11 changed files with 31 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
/* Note:
/* Note:
** This is just a sample piece of code that shows how to use some structs -
** it may not even run.
*/
@@ -28,5 +28,5 @@ static const dlgBoxStr myDialog = {
void main (void)
{
DoDlgBox (&myDialog);
DoDlgBox (&myDialog);
}

View File

@@ -1,11 +1,11 @@
/*
GEOSLib example
using DlgBoxFileSelect
Maciej 'YTM/Elysium' Witkowiak
<ytm@elysium.pl>
26.12.1999
*/

View File

@@ -9,16 +9,16 @@ void main(void)
char ch;
DlgBoxOk("Now the screen will be", "cleared.");
clrscr();
DlgBoxOk("Now a character will be", "written at 20,20");
gotoxy(20, 20);
cputc('A');
DlgBoxOk("Now a string will be", "written at 0,1");
cputsxy(0, 1, CBOLDON "Just" COUTLINEON "a " CITALICON "string." CPLAINTEXT );
DlgBoxOk("Write text and finish it", "with a dot.");
@@ -31,7 +31,7 @@ void main(void)
cursor(0);
DlgBoxOk("Seems that it is all for conio.", "Let's test mouse routines.");
mouse_init(1);
cputsxy(0, 2, CBOLDON "Now you can't see mouse (press any key)" CPLAINTEXT);
mouse_hide();

View File

@@ -57,6 +57,6 @@ void main (void)
}
Sleep(10*50);
return;
}

View File

@@ -1,11 +1,11 @@
/*
GEOSLib example
Hello, world example - with DBox
Maciej 'YTM/Elysium' Witkowiak
<ytm@elysium.pl>
26.12.1999
*/
@@ -18,7 +18,7 @@ void main (void)
DlgBoxOk(CBOLDON "Hello, world" CPLAINTEXT,
"This is written in C!");
// Normal apps exit from main into system's mainloop, and app finish
// when user selects it from icons or menu, but here we want to exit
// immediately.

View File

@@ -1,11 +1,11 @@
/*
GEOSLib example
Hello, world example - using graphic functions
Maciej 'YTM/Alliance' Witkowiak
<ytm@friko.onet.pl>
26.12.1999
*/
@@ -25,18 +25,18 @@ void main (void)
SetPattern(0);
InitDrawWindow(&wholeScreen);
Rectangle();
// Now some texts
PutString(COUTLINEON "This is compiled using cc65!" CPLAINTEXT, 20, 10);
PutString(CBOLDON "This is bold", 30, 10);
PutString(CULINEON "and this is bold and underline!", 40, 10);
PutString(CPLAINTEXT "This is plain text", 50, 10);
// Wait for 5 secs...
// Note that this is multitasking sleep, and if there are any icons/menus onscreen,
// they would be usable, in this case you have only pointer usable
Sleep(5*50);
// Normal apps exit from main into system's mainloop, and app finish
// when user selects it from icons or menu, but here we want to exit
// immediately.

View File

@@ -33,7 +33,7 @@ void foo(void)
{
/* Functions resident in an overlay can access all program variables and
** constants at any time without any precautions because those are never
** placed in overlays. The string constant "One" is an example for such
** placed in overlays. The string constant "One" is an example for such
** a constant resident in the main program.
*/
show("One");

View File

@@ -1,12 +1,12 @@
/*
GEOSLib example
This small application removes GEOS disk write protection tag.
e.g. boot disk is always protected after boot-up
Maciej 'YTM/Elysium' Witkowiak
<ytm@elysium.pl>
21.03.2000
*/
@@ -60,7 +60,7 @@ void main(void)
{
// Here we clear the screen. Not really needed anyway...
GraphicsString(&clearScreen);
// Get the name of current disk to show it in dialog box
GetPtrCurDkNm(diskName);