Show
Ignore:
Timestamp:
09/07/09 21:50:52 (3 years ago)
Author:
Pierre-Alexandre Meyer <pierre@…>
Children:
66868cb27d32f490ae3682562ddc72a09e4c8aa1
Parents:
19b1efa9f4702a695f185596a26c1a33b5c5ed23
git-committer:
Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-09-07T14:50:52Z-0700
Message:

hdt: remove extra LF

In a few places, extra LFs cause the menu to scroll ('\n' in the status bar).
Remove them (they are not needed anyway).

Signed-off-by: Pierre-Alexandre Meyer <pierre@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/hdt/hdt-menu-syslinux.c

    ra00023 r8e7362  
    7777  snprintf(buffer, sizeof buffer, "%s", 
    7878     hardware->sv->copyright_string + 1); 
     79  /* Remove the trailing LF in the copyright string to avoid scrolling */ 
    7980  snprintf(statbuffer, sizeof statbuffer, "%s", 
    80      hardware->sv->copyright_string + 1); 
     81     remove_trailing_lf(hardware->sv->copyright_string + 1)); 
    8182  add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 
    8283  menu->items_count++;