summaryrefslogtreecommitdiff
path: root/graphics/grafx2/files/patch-files.c
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2009-03-04 17:53:46 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2009-03-04 17:53:46 +0000
commit2258f2865647a5052d51fefb00dcc88958e77dd0 (patch)
tree96a2b4171783ed5a8890a8f3f593d4d63722bcde /graphics/grafx2/files/patch-files.c
parentUpdate to 0.005 (diff)
Add grafx2, a bitmap paint program that supports more than 60 video
resolutions. Additional patches from: dinoex
Notes
Notes: svn path=/head/; revision=229487
Diffstat (limited to 'graphics/grafx2/files/patch-files.c')
-rw-r--r--graphics/grafx2/files/patch-files.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/grafx2/files/patch-files.c b/graphics/grafx2/files/patch-files.c
new file mode 100644
index 000000000000..0022d791f70b
--- /dev/null
+++ b/graphics/grafx2/files/patch-files.c
@@ -0,0 +1,15 @@
+--- ./files.c.orig 2009-02-23 14:20:42.000000000 +0100
++++ ./files.c 2009-02-23 14:21:14.000000000 +0100
+@@ -318,11 +318,10 @@
+ // This should be made dynamic because in the multitask world, user can mount new drives,
+ // connect to network ones, and so on, while Grafx2 is running.
+ #else
+- #warning "Your platform is missing some specific code here ! please check and correct ! :)"
+ for (Indice=0; Indice<Nb_drives; Indice++)
+ {
+ // Add the drive's name ("c:\\", "/" etc.) to the list
+- Ajouter_element_a_la_liste(Drive[Indice].Chemin, 2);
++ Ajouter_element_a_la_liste("/", 2);
+ Liste_Nb_repertoires++;
+ }
+ #endif