add_to_cutbuffer() - Remove useless statements (Rocco).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@644 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
b10283c4e8
commit
4cb991dda1
|
@ -26,6 +26,9 @@ Cvs code -
|
||||||
line, and color later on.
|
line, and color later on.
|
||||||
- Added --enable-color option to allow color and syntax highlighting
|
- Added --enable-color option to allow color and syntax highlighting
|
||||||
(stub as of now).
|
(stub as of now).
|
||||||
|
- cut.c:
|
||||||
|
add_to_cutbuffer()
|
||||||
|
- Remove useless statements (Rocco).
|
||||||
- faq.html:
|
- faq.html:
|
||||||
- Brought the FAQ up to date, many little changes (Jordi).
|
- Brought the FAQ up to date, many little changes (Jordi).
|
||||||
- files.c:
|
- files.c:
|
||||||
|
|
3
cut.c
3
cut.c
|
@ -39,15 +39,12 @@ static filestruct *cutbottom = NULL; /* Pointer to end of cutbuffer */
|
||||||
|
|
||||||
void add_to_cutbuffer(filestruct * inptr)
|
void add_to_cutbuffer(filestruct * inptr)
|
||||||
{
|
{
|
||||||
filestruct *tmp;
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, _("add_to_cutbuffer called with inptr->data = %s\n"),
|
fprintf(stderr, _("add_to_cutbuffer called with inptr->data = %s\n"),
|
||||||
inptr->data);
|
inptr->data);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
totsize -= strlen(inptr->data);
|
totsize -= strlen(inptr->data);
|
||||||
tmp = cutbuffer;
|
|
||||||
if (cutbuffer == NULL) {
|
if (cutbuffer == NULL) {
|
||||||
cutbuffer = inptr;
|
cutbuffer = inptr;
|
||||||
inptr->prev = NULL;
|
inptr->prev = NULL;
|
||||||
|
|
Loading…
Reference in New Issue