]> git.sur5r.net Git - cc65/blob - samples/geos/filesel.c
rearranged order of new optimizations to better handle -Oi flag
[cc65] / samples / geos / filesel.c
1 /*
2     GEOSLib example
3     
4     using DlgBoxFileSelect
5     
6     Maciej 'YTM/Elysium' Witkowiak
7     <ytm@elysium.pl>
8     
9     26.12.1999
10 */
11
12
13 #include <geos.h>
14
15 char fName[17] = "";
16
17 void main (void)
18 {
19     r0=(int)fName;
20
21     DlgBoxOk(CBOLDON "You now will be presented", "with an apps list" CPLAINTEXT);
22     DlgBoxFileSelect("", APPLICATION, fName);
23     DlgBoxOk("You've chosen:" CBOLDON, fName);
24 }