apps/graphics/pdcurs34: Fix a bad copy-paste error introduced in last commit.

This commit is contained in:
Gregory Nutt 2017-11-24 08:45:40 -06:00
parent 18a5e074e7
commit 28f5176a0d

View File

@ -282,7 +282,7 @@ static inline void PDC_set_bg(FAR struct pdc_fbstate_s *fbstate,
* the final byte than may have fewer than 4 pixels in it).
*/
endcol = (endcol + 3) >> 3;
endcol = (endcol + 3) >> 2;
#elif PDCURSES_BPP == 4
/* Get the start and end colum in pixels (relative to the start position) */
@ -306,7 +306,7 @@ static inline void PDC_set_bg(FAR struct pdc_fbstate_s *fbstate,
* the final byte than may have only one pixels in it).
*/
endcol = (endcol + 1) >> 3;
endcol = (endcol + 1) >> 1;
#endif
/* Now copy the color into the entire glyph region */