2005-11-17 Andrew Haley <aph@redhat.com>
[deliverable/binutils-gdb.git] / binutils / budemang.c
index c992570c3a862ec1309eb5f28359a5c4ca61030d..55f10b785daf1e108c47be63750ab542a186efec 100644 (file)
@@ -1,5 +1,5 @@
 /* demangle.c -- A wrapper calling libiberty cplus_demangle
-   Copyright 2002, 2003 Free Software Foundation, Inc.
+   Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -15,8 +15,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+   02110-1301, USA.  */
 
 #include "config.h"
 #include <stdlib.h>
@@ -52,7 +52,7 @@ demangle (bfd *abfd, const char *name)
   pre = name;
   while (*name == '.')
     ++name;
-  pre_len = pre - name;
+  pre_len = name - pre;
 
   alloc = NULL;
   suf = strchr (name, '@');
This page took 0.023684 seconds and 4 git commands to generate.