diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-04 10:47:45 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-04 10:47:45 +0300 |
commit | 2677d0b821b7fee5d79d408ed3cbdd7e9628cdb8 (patch) | |
tree | 8fd970eb1a528faa5dd8c9ddd9bb27be44ba1426 /tecbuf.c | |
parent | 80eeaa4a1254c05ab1d5514f6a77c937b4ccd299 (diff) | |
download | videoteco-fork-2677d0b821b7fee5d79d408ed3cbdd7e9628cdb8.tar.gz |
mention myself on <0EB>: "Munged by Robin Haberkorn"
Diffstat (limited to 'tecbuf.c')
-rw-r--r-- | tecbuf.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1153,6 +1153,13 @@ int max_length; buff_insert(curbuf,curbuf->dot,padd_buffer,i); buff_insert(curbuf,curbuf->dot,tmp_buffer,strlen(tmp_buffer)); + (void) strcpy(tmp_buffer,"Munged by Robin Haberkorn"); + i = (max_length - strlen(tmp_buffer))/2; + if(i < 0) i = 0; + (void) strcat(tmp_buffer,"\n"); + buff_insert(curbuf,curbuf->dot,padd_buffer,i); + buff_insert(curbuf,curbuf->dot,tmp_buffer,strlen(tmp_buffer)); + #if 0 (void) strcpy(tmp_buffer,id_string); if(tmp_buffer[0] == '%'){ |