[svn] Constify variable.

This commit is contained in:
hniksic 2005-06-26 16:04:56 -07:00
parent c9049f94d7
commit 2e7aa7f76d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
* progress.c (set_progress_implementation): Type COLON as const
char *.
2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> 2005-06-27 Hrvoje Niksic <hniksic@xemacs.org>
* utils.c (with_thousand_seps): Handle negative numbers. * utils.c (with_thousand_seps): Handle negative numbers.

View File

@ -76,7 +76,7 @@ static int current_impl_locked;
#define DEFAULT_PROGRESS_IMPLEMENTATION "bar" #define DEFAULT_PROGRESS_IMPLEMENTATION "bar"
/* Fallnback progress implementation should be something that works /* Fallback progress implementation should be something that works
under all display types. If you put something other than "dot" under all display types. If you put something other than "dot"
here, remember that bar_set_params tries to switch to this if we're here, remember that bar_set_params tries to switch to this if we're
not running on a TTY. So changing this to "bar" could cause not running on a TTY. So changing this to "bar" could cause
@ -108,7 +108,7 @@ set_progress_implementation (const char *name)
{ {
int i, namelen; int i, namelen;
struct progress_implementation *pi = implementations; struct progress_implementation *pi = implementations;
char *colon; const char *colon;
if (!name) if (!name)
name = DEFAULT_PROGRESS_IMPLEMENTATION; name = DEFAULT_PROGRESS_IMPLEMENTATION;