begining -> beginning

pull/19/head
Semen Zhydenko 2018-01-06 22:43:35 +01:00 zatwierdzone przez Thomas Buckley-Houston
rodzic cdae16672d
commit 18db9acdec
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -17,11 +17,11 @@
int p2step; int p2step;
T *p1_save; T *p1_save;
/* p1 point to begining of scanline j*magnification in DST */ /* p1 point to beginning of scanline j*magnification in DST */
p1 = getP(DST, 0, j * magnification); p1 = getP(DST, 0, j * magnification);
p1_save = p1; p1_save = p1;
/* p2 point to begining of scanline j in SRC */ /* p2 point to beginning of scanline j in SRC */
p2 = getP(SRC, 0, j); p2 = getP(SRC, 0, j);
i = width[SRC]; i = width[SRC];
@ -36,10 +36,10 @@
/* duplicate that line as needed */ /* duplicate that line as needed */
if (magnification > 1) if (magnification > 1)
{ {
/* p1 point to begining of scanline j*magnification in DST */ /* p1 point to beginning of scanline j*magnification in DST */
p1 = p1_save; p1 = p1_save;
/* p2 points to begining of next line */ /* p2 points to beginning of next line */
p2 = p1; p2 = p1;
p2step = ximage[DST]->bytes_per_line / sizeof(T); p2step = ximage[DST]->bytes_per_line / sizeof(T);