Skip to content
Browse files

Show up to 32 characters of Enum names in #inspect

  • Loading branch information...
1 parent b946714 commit f7d53e7870eb4ee71d9bdc69b00f740ad0f2c511 rmagick committed Dec 25, 2004
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/RMagick/rmutil.c
View
4 ext/RMagick/rmutil.c
@@ -1,4 +1,4 @@
-/* $Id: rmutil.c,v 1.46 2004/12/05 22:36:11 rmagick Exp $ */
+/* $Id: rmutil.c,v 1.47 2004/12/25 18:59:03 rmagick Exp $ */
/*============================================================================\
| Copyright (C) 2004 by Timothy P. Hunter
| Name: rmutil.c
@@ -2134,7 +2134,7 @@ static VALUE Enum_type_inspect(VALUE self)
MagickEnum *magick_enum;
Data_Get_Struct(self, MagickEnum, magick_enum);
- sprintf(str, "%.16s=%d", rb_id2name(magick_enum->id), magick_enum->val);
+ sprintf(str, "%.32s=%d", rb_id2name(magick_enum->id), magick_enum->val);
return rb_str_new2(str);
}

0 comments on commit f7d53e7

Please sign in to comment.
Something went wrong with that request. Please try again.