summaryrefslogtreecommitdiff
path: root/graphics/robot/files/patch-Robot_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/robot/files/patch-Robot_history.c')
-rw-r--r--graphics/robot/files/patch-Robot_history.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/graphics/robot/files/patch-Robot_history.c b/graphics/robot/files/patch-Robot_history.c
deleted file mode 100644
index 31d81658e72a..000000000000
--- a/graphics/robot/files/patch-Robot_history.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- Robot/history.c.orig 2009-04-11 22:11:08.000000000 +0200
-+++ Robot/history.c 2009-04-11 22:11:30.000000000 +0200
-@@ -248,7 +248,7 @@
- if (text[i] == '^') {
- index = i;
- strncpy(htext1, text + 1, index - 1);
-- htext1[index - 1] = (char) NULL;
-+ htext1[index - 1] = 0;
- break;
- }
- }
-@@ -258,7 +258,7 @@
- }
- strcpy(htext2, text + index + 1);
- if (htext2[strlen(htext2) - 1] == '^') {
-- htext2[strlen(htext2) - 1] = (char) NULL;
-+ htext2[strlen(htext2) - 1] = 0;
- }
- /* now try to find it in the previous string */
- sprintf(htext3, "%s",
-@@ -271,7 +271,7 @@
- /* think we found the string */
- if (i > 0) {
- strncpy(htext4, htext3, i);
-- htext4[i] = (char) NULL;
-+ htext4[i] = 0;
- }
- else{
- strcpy(htext4, "");