mirror of https://github.com/GNOME/gimp.git
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:
parent
99abc566d4
commit
40c06ab685
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue