fix some copy&paste errors

Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
This commit is contained in:
Simon Budig 2014-08-15 23:05:05 +02:00
parent 99abc566d4
commit 40c06ab685
3 changed files with 4 additions and 4 deletions

View File

@ -122,8 +122,8 @@ gimp_item_get_popup_size (GimpViewable *viewable,
if (scaling_up)
{
*popup_width = gimp_item_get_width (item);
*popup_width = gimp_item_get_height (item);
*popup_width = gimp_item_get_width (item);
*popup_height = gimp_item_get_height (item);
}
return TRUE;

View File

@ -566,5 +566,5 @@ gimp_text_get_transformation (GimpText *text,
matrix->coeff[2][0] = 0.0;
matrix->coeff[2][1] = 0.0;
matrix->coeff[2][1] = 1.0;
matrix->coeff[2][2] = 1.0;
}

View File

@ -1210,7 +1210,7 @@ gimp_draw_tool_on_vectors_curve (GimpDrawTool *draw_tool,
if (ret_coords) *ret_coords = *coord;
if (ret_pos) *ret_pos = -1.0;
if (ret_segment_start) *ret_segment_start = NULL;
if (ret_segment_start) *ret_segment_end = NULL;
if (ret_segment_end) *ret_segment_end = NULL;
if (ret_stroke) *ret_stroke = NULL;
min_dist = -1.0;