Skip to content

Commit 226898d

Browse files
committed
Minor fixups to make ruby-vips play nice with rubinius.
1 parent 9485ad8 commit 226898d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/image_histograms_lut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ VALUE
630630
img_tone_analyze(VALUE obj,
631631
VALUE ps, VALUE pm, VALUE ph, VALUE s, VALUE m, VALUE h)
632632
{
633-
#if IM_MAJOR_VERSION > 7 || IM_MINOR_VERSION >= 22
633+
#if IM_MAJOR_VERSION > 7 || IM_MINOR_VERSION >= 23
634634
GetImg(obj, data, im);
635635
OutImg(obj, new, data_new, im_new);
636636

ext/ruby_vips.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ init_vips_library()
9090

9191
im_init_world(argv[0]);
9292

93-
context = g_option_context_new(_("- ruby-vips"));
93+
context = g_option_context_new("- ruby-vips");
9494
g_option_context_set_ignore_unknown_options(context, TRUE);
9595

9696
g_option_context_add_group(context, im_get_option_group());

0 commit comments

Comments
 (0)