diff options
Diffstat (limited to 'graphics/xfpovray/files/patch-ae')
-rw-r--r-- | graphics/xfpovray/files/patch-ae | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/graphics/xfpovray/files/patch-ae b/graphics/xfpovray/files/patch-ae index dcf0438627d9..49b4e321e32e 100644 --- a/graphics/xfpovray/files/patch-ae +++ b/graphics/xfpovray/files/patch-ae @@ -1,15 +1,28 @@ --- src/show_image.c.orig Sun Feb 8 04:09:16 1998 -+++ src/show_image.c Tue Feb 17 08:47:26 1998 -@@ -15,7 +15,7 @@ ++++ src/show_image.c Wed Jun 3 09:38:49 1998 +@@ -13,21 +13,6 @@ + extern OUTPUT_PAGE_S *outputPage; - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +- +-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -char *truncate(char *string, char endat) -+char *strtruncate(char *string, char endat) - { - char *endchar; - -@@ -45,7 +45,7 @@ +-{ +- char *endchar; +- +- +- if ((string != NULL) && (endchar = strrchr(string, endat)) != NULL) +- *endchar = '\0'; +- +- return (string); +- +-} +- +- + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + /* + ** Display the image after rendering. Some OS do not allow +@@ -45,7 +30,7 @@ strcpy(temp, pov.input_file_name); |