about summary refs log tree commit diff stats
path: root/src/LYEditmap.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-08-26 13:39:32 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-08-26 13:39:32 -0400
commitab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d (patch)
tree6443da66048e206549901ab7f49b3772749a755a /src/LYEditmap.c
parentfde43024bd6579b609526faf94dcdbcb6f2bc5e1 (diff)
downloadlynx-snapshots-ab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d.tar.gz
snapshot of project "lynx", label v2-8-3dev_7
Diffstat (limited to 'src/LYEditmap.c')
-rw-r--r--src/LYEditmap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/LYEditmap.c b/src/LYEditmap.c
index 504f9bf7..7314e97b 100644
--- a/src/LYEditmap.c
+++ b/src/LYEditmap.c
@@ -895,7 +895,7 @@ LYE_FORM_LAC|LYK_DWIMHELP,
 
 #endif /* _WINDOWS || __DJGPP__ */
 
-LYE_UNMOD,      LYE_NOP,        LYE_UNMOD,      LYE_UNMOD,    
+LYE_UNMOD,      LYE_NOP,        LYE_UNMOD,      LYE_UNMOD,
 /* Insert key   Remove key      DO_NOTHING      Back tab */
 
 /* 110..18F */
@@ -948,7 +948,7 @@ PUBLIC char * LYLineeditNames[]={
 /*
  * Add the URL (relative to helpfilepath) used for context-dependent
  * help on form field editing.
- * 
+ *
  * The order must correspond to that of LYLineditNames.
  */
 PUBLIC CONST char * LYLineeditHelpURLs[]={
@@ -1024,17 +1024,17 @@ PUBLIC int LYRemapEditBinding ARGS2(
 	if (c > LAST_MOD1_LKC)
 	    return FALSE;
 	else
-	    Mod1Binding[c] = lec;
+	    Mod1Binding[c] = (short) lec;
     } else if (xlkc & LKC_MOD2) {
 	if (c > LAST_MOD2_LKC)
 	    return FALSE;
 	else
-	    Mod2Binding[c] = lec;
+	    Mod2Binding[c] = (short) lec;
     } else if (xlkc & LKC_MOD3) {
 	if (c > LAST_MOD3_LKC)
 	    return FALSE;
 	else
-	    Mod3Binding[c] = lec;
+	    Mod3Binding[c] = (short) lec;
     } else
 #endif /* EXP_ALT_BINDINGS */
     {
@@ -1044,7 +1044,7 @@ PUBLIC int LYRemapEditBinding ARGS2(
 	if ((unsigned int)lec > UCHAR_MAX)
 	    return FALSE;	/* cannot do, doesn't fit in a char - kw */
 	for (j = 0; LYLineeditNames[j]; j++) {
-	    LYLineEditors[j][c] = lec;
+	    LYLineEditors[j][c] = (char) lec;
 	}
     }
     return TRUE;