Convert comments to UTF-8

most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 !
This commit is contained in:
Thomas Bernard
2018-06-26 10:54:47 +02:00
parent 6731a57999
commit 92facef46d
53 changed files with 2424 additions and 2424 deletions

View File

@@ -355,13 +355,13 @@ void Button_Transform_menu(int btn)
break;
case 2 : // Flip X
case 3 : // Flip Y
case 6 : // 180° Rotation
case 6 : // 180° Rotation
new_width=Main.image_width;
new_height=Main.image_height;
break;
case 4 : // -90° Rotation
case 5 : // +90° Rotation
case 4 : // -90° Rotation
case 5 : // +90° Rotation
new_width=Main.image_height;
new_height=Main.image_width;
@@ -398,19 +398,19 @@ void Button_Transform_menu(int btn)
Flip_Y_lowlevel(Main.backups->Pages->Image[i].Pixels, Main.image_width, Main.image_height);
}
break;
case 4 : // -90° Rotation
case 4 : // -90° Rotation
for (i=0; i<Main.backups->Pages->Nb_layers; i++)
{
Rotate_270_deg_lowlevel(Main.backups->Pages->Next->Image[i].Pixels, Main.backups->Pages->Image[i].Pixels, old_width, old_height);
}
break;
case 5 : // +90° Rotation
case 5 : // +90° Rotation
for (i=0; i<Main.backups->Pages->Nb_layers; i++)
{
Rotate_90_deg_lowlevel(Main.backups->Pages->Next->Image[i].Pixels, Main.backups->Pages->Image[i].Pixels, old_width, old_height);
}
break;
case 6 : // 180° Rotation
case 6 : // 180° Rotation
for (i=0; i<Main.backups->Pages->Nb_layers; i++)
{
memcpy(Main.backups->Pages->Image[i].Pixels,Main.backups->Pages->Next->Image[i].Pixels,Main.image_width*Main.image_height);