Deleted Added
full compact
lesskey.c (237613) lesskey.c (238730)
1/*
2 * Copyright (C) 1984-2012 Mark Nudelman
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information, see the README file.
8 */

--- 435 unchanged lines hidden (view full) ---

444 buf[0] = *p;
445 buf[1] = '\0';
446 if (xlate && buf[0] == CONTROL('K'))
447 return tstr_control_k;
448 return (buf);
449 }
450 case '^':
451 /*
1/*
2 * Copyright (C) 1984-2012 Mark Nudelman
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information, see the README file.
8 */

--- 435 unchanged lines hidden (view full) ---

444 buf[0] = *p;
445 buf[1] = '\0';
446 if (xlate && buf[0] == CONTROL('K'))
447 return tstr_control_k;
448 return (buf);
449 }
450 case '^':
451 /*
452 * Carat means CONTROL.
452 * Caret means CONTROL.
453 */
454 *pp = p+2;
455 buf[0] = CONTROL(p[1]);
456 buf[1] = '\0';
457 if (buf[0] == CONTROL('K'))
458 return tstr_control_k;
459 return (buf);
460 }

--- 413 unchanged lines hidden ---
453 */
454 *pp = p+2;
455 buf[0] = CONTROL(p[1]);
456 buf[1] = '\0';
457 if (buf[0] == CONTROL('K'))
458 return tstr_control_k;
459 return (buf);
460 }

--- 413 unchanged lines hidden ---