Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/compl.c @ 1729:e6e89b1d7831
Minor style and header updates
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 28 Feb 2010 15:19:27 +0100 |
parents | 1342df44c814 |
children | e2c084204583 |
comparison
equal
deleted
inserted
replaced
1728:15b3834cbe5f | 1729:e6e89b1d7831 |
---|---|
1 /* | 1 /* |
2 * compl.c -- Completion system | 2 * compl.c -- Completion system |
3 * | 3 * |
4 * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net> | 4 * Copyright (C) 2005-2010 Mikael Berthe <mikael@lilotux.net> |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License as published by | 7 * it under the terms of the GNU General Public License as published by |
8 * the Free Software Foundation; either version 2 of the License, or (at | 8 * the Free Software Foundation; either version 2 of the License, or (at |
9 * your option) any later version. | 9 * your option) any later version. |
136 InputCompl = NULL; | 136 InputCompl = NULL; |
137 } | 137 } |
138 | 138 |
139 // cancel_completion() | 139 // cancel_completion() |
140 // Returns the number of chars to delete to cancel the completion | 140 // Returns the number of chars to delete to cancel the completion |
141 //guint cancel_completion(compl *c) | |
142 guint cancel_completion(void) | 141 guint cancel_completion(void) |
143 { | 142 { |
144 if (!InputCompl) return 0; | 143 if (!InputCompl) return 0; |
145 return InputCompl->len_compl; | 144 return InputCompl->len_compl; |
146 } | 145 } |