aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-22 00:03:44 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-22 00:03:44 +1000
commit2076944268331c1938ffd0700155c8e7936c19ef (patch)
tree84dc496981e21e2102cfc647ae65bfab4e1863e3 /reader.h
parent407c96e943d10c1595d0438ca81c098b78158905 (diff)
Use the intern function to share the strings used to describe various key bindings. This saves both performance, code size and memory use, but there is a pathological case where the user continually changes key bindings, resulting in more allocated memory than needed.
darcs-hash:20060621140344-ac50b-c7eb89a94a96538215f9a6737f8e4bacd6a801fb.gz
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader.h b/reader.h
index ec67266d..2c6c0c1f 100644
--- a/reader.h
+++ b/reader.h
@@ -72,7 +72,7 @@ void repaint();
Run the specified command with the correct terminal modes, and
while taking care to perform job notification, set the title, etc.
*/
-void reader_run_command( wchar_t *buff );
+void reader_run_command( const wchar_t *buff );
/**
Get the string of character currently entered into the command