summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-src-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mc/files/patch-src-widget.c')
-rw-r--r--misc/mc/files/patch-src-widget.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/misc/mc/files/patch-src-widget.c b/misc/mc/files/patch-src-widget.c
deleted file mode 100644
index 578da4fcbff5..000000000000
--- a/misc/mc/files/patch-src-widget.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/widget.c.orig Thu Dec 26 05:15:48 2002
-+++ src/widget.c Tue Jun 15 03:15:09 2004
-@@ -607,7 +607,7 @@
- if (!g->shown)
- printw ("%*s", gauge_len, "");
- else {
-- long percentage, columns;
-+ int percentage, columns;
- long total = g->max, done = g->current;
-
- if (total <= 0 || done < 0) {
-@@ -1255,10 +1255,11 @@
- {
- int first = min (x_first, x_last);
- int last = max (x_first, x_last);
-+ size_t len = strlen (&in->buffer [last]) + 1;
-
- in->point = first;
- in->mark = first;
-- strcpy (&in->buffer [first], &in->buffer [last]);
-+ memmove (&in->buffer [first], &in->buffer [last], len);
- in->need_push = 1;
- }
-