Commit 1c2c6e56ea258fabb603f13241629f7bbd81641c
1 parent
321ade8c
Corrected manual
Showing
1 changed file
with
2 additions
and
2 deletions
graphmanual.html
... | ... | @@ -28,7 +28,7 @@ entire scene.</P> |
28 | 28 | <H1>Compilation</H1> |
29 | 29 | <P>The following command line can be used to compile programs using |
30 | 30 | the library:</P> |
31 | -<PRE STYLE="margin-bottom: 0.2in">gcc -g -Wall -pedantic `sdl2-config --cflags` primlib.c progname.c -o $@ -lSDL2_gfx `sdl2-config --libs`</PRE><P> | |
31 | +<PRE STYLE="margin-bottom: 0.2in">gcc -g -Wall -pedantic `sdl2-config --cflags` primlib.c progname.c -o progname -lSDL2_gfx `sdl2-config --libs`</PRE><P> | |
32 | 32 | where <I>progname.c</I> is the name of the main program module.</P> |
33 | 33 | <H1>Function reference</H1> |
34 | 34 | <H2 CLASS="western">int gfx_init();</H2> |
... | ... | @@ -73,7 +73,7 @@ using color <I>c</I>.</P> |
73 | 73 | visible on the screen.</P> |
74 | 74 | <H2 CLASS="western">int gfx_pollkey();</H2> |
75 | 75 | <P>Return the code of pressed key, do not wait for the keypress. |
76 | -Return-1 if no key has been pressed.</P> | |
76 | +Return -1 if no key has been pressed.</P> | |
77 | 77 | <H2 CLASS="western">int gfx_getkey();</H2> |
78 | 78 | <P>Wait for the keypress and return the key code.</P> |
79 | 79 | <H2 CLASS="western">int gfx_isKeyDown(int key);</H2> | ... | ... |