summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3cc9a4d)
raw | patch | inline | side by side (parent: 3cc9a4d)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 14 Jun 2006 20:27:44 +0000 (22:27 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Wed, 14 Jun 2006 20:27:44 +0000 (22:27 +0200) |
tig.c | patch | blob | history |
index a3b92c851d5b43bb98dd597344099a0d907d1ecd..5ed2bb1c5113b20cc6ec03cbee810ef8fab44bf2 100644 (file)
--- a/tig.c
+++ b/tig.c
{ "Down", KEY_DOWN },
{ "Insert", KEY_IC },
{ "Delete", KEY_DC },
+ { "Hash", '#' },
{ "Home", KEY_HOME },
{ "End", KEY_END },
{ "PageUp", KEY_PPAGE },
/* Check for comment markers, since read_properties() will
* only ensure opt and value are split at first " \t". */
- optlen = strcspn(opt, "#;");
+ optlen = strcspn(opt, "#");
if (optlen == 0)
return OK;
} else {
/* Look for comment endings in the value. */
- int len = strcspn(value, "#;");
+ int len = strcspn(value, "#");
if (len < valuelen) {
valuelen = len;