diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-23 07:41:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-23 07:41:21 +0000 |
commit | c24d849fa41114108b52a0a5e9256a7f0558b0d8 (patch) | |
tree | 93dbcffb22bbddf9181fbc3e89d93d8e36bb6afd /server.c | |
parent | e013970b0b0b44bf871233cffcf5ca77ce700e2e (diff) | |
download | rtmux-c24d849fa41114108b52a0a5e9256a7f0558b0d8.tar.gz rtmux-c24d849fa41114108b52a0a5e9256a7f0558b0d8.tar.bz2 rtmux-c24d849fa41114108b52a0a5e9256a7f0558b0d8.zip |
Split options into a table to allow abbreviations.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.75 2008-06-22 16:56:47 nicm Exp $ */ +/* $Id: server.c,v 1.76 2008-06-23 07:41:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -527,7 +527,7 @@ server_handle_client(struct client *c) struct window *w = c->session->curw->window; int key, prefix; - prefix = options_get_key(&c->session->options, "prefix"); + prefix = options_get_number(&c->session->options, "prefix"); while (tty_keys_next(&c->tty, &key) == 0) { server_clear_client_message(c); if (c->prompt_string != NULL) { |