regex: also remove dependency on HAVE_WCSCOLL
[gnulib.git] / lib / readline.c
index 4be5f34..4c67e89 100644 (file)
@@ -1,5 +1,5 @@
 /* readline.c --- Simple implementation of readline.
-   Copyright (C) 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2007, 2009-2013 Free Software Foundation, Inc.
    Written by Simon Josefsson
 
    This program is free software: you can redistribute it and/or modify
@@ -48,7 +48,7 @@ readline (const char *prompt)
     return NULL;
 
   while (*out && (out[strlen (out) - 1] == '\r'
-                 || out[strlen (out) - 1] == '\n'))
+                  || out[strlen (out) - 1] == '\n'))
     out[strlen (out) - 1] = '\0';
 
   return out;