Sync OpenBSD patchset 581:

Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
This commit is contained in:
Tiago Cunha
2009-12-04 22:14:47 +00:00
parent 1caa73afb4
commit cc094fdfe6
66 changed files with 484 additions and 482 deletions

View File

@ -1,4 +1,4 @@
/* $Id: key-string.c,v 1.27 2009-11-28 14:57:04 tcunha Exp $ */
/* $Id: key-string.c,v 1.28 2009-12-04 22:14:47 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -136,7 +136,7 @@ key_string_lookup_string(const char *string)
key = (u_char) ptr[0];
}
/*
/*
* Figure out if the single character in key is a valid ctrl
* key.
*/
@ -150,7 +150,7 @@ key_string_lookup_string(const char *string)
return (key - 96);
return (KEYC_NONE);
}
if ((string[0] == 'M' || string[0] == 'm') && string[1] == '-') {
ptr = string + 2;
if (ptr[0] == '\0')