- [FORMATTING] Fix indentation in usetup's genlist.

- Remove the obsolete "media/vgafonts/readme.txt" file.

No code changes

svn path=/trunk/; revision=33445
This commit is contained in:
Colin Finck 2008-05-11 15:07:16 +00:00
parent bd846f9aa4
commit 67e88fe072
3 changed files with 228 additions and 238 deletions

View file

@ -330,6 +330,7 @@ Reset:
while (Entry != &GenericList->ListHead) while (Entry != &GenericList->ListHead)
{ {
ListEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry); ListEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry);
if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) == AsciChar)) if ((strlen(ListEntry->Text) > 0) && (tolower(ListEntry->Text[0]) == AsciChar))
{ {
if (CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry) == GenericList->CurrentEntry) if (CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry) == GenericList->CurrentEntry)
@ -337,15 +338,19 @@ Reset:
Entry = Entry->Flink; Entry = Entry->Flink;
if (Entry == &GenericList->ListHead) if (Entry == &GenericList->ListHead)
goto Reset; goto Reset;
ListEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry); ListEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry);
if ((strlen(ListEntry->Text) < 1) || (tolower(ListEntry->Text[0]) != AsciChar)) if ((strlen(ListEntry->Text) < 1) || (tolower(ListEntry->Text[0]) != AsciChar))
goto Reset; goto Reset;
} }
GenericList->CurrentEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry); GenericList->CurrentEntry = CONTAINING_RECORD (Entry, GENERIC_LIST_ENTRY, Entry);
break; break;
} }
Entry = Entry->Flink; Entry = Entry->Flink;
} }
if (Entry) if (Entry)
DrawListEntries(GenericList); DrawListEntries(GenericList);
} }

View file

@ -1,15 +0,0 @@
Until a better solution is found (like extending cabman) please recreate vgafont.bin
with 7-Zip or a similar compression tool. The file has to be in standard zip format without
compression. (CompressionMethod = 0)
sources:
http://opengrok.creo.hu/dragonfly/xref/src/share/syscons/fonts/cp437-8x8.fnt
http://opengrok.creo.hu/dragonfly/xref/src/share/syscons/fonts/cp850-8x8.fnt
http://opengrok.creo.hu/dragonfly/xref/src/share/syscons/fonts/cp865-8x8.fnt
http://opengrok.creo.hu/dragonfly/xref/src/share/syscons/fonts/cp866-8x8.fnt
http://packages.debian.org/en/etch/all/console-data/ file: gr737-8x8.psf
http://packages.debian.org/en/etch/all/console-data/ file: lat2-08.psf (as a base), remade several
glyphs (by GreatLord), corrected the aligning and cleaned up some of the fonts, finally changed from
ISO to DOS ASCII standard CP852 (by Caemyr)
http://cman.us/files/cp775-8x8.zip