diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-05 14:38:25 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-05 14:38:25 -0500 |
commit | de2b8d4c8b3f585b3732351480db93cdbb3eea1c (patch) | |
tree | 4970a782f1714cf14d590f989d3f68bdccfae3df /chalk/doc | |
parent | 6e2ef2e265d01954204be2c823198f2bde792d89 (diff) | |
download | koffice-de2b8d4c8b3f585b3732351480db93cdbb3eea1c.tar.gz koffice-de2b8d4c8b3f585b3732351480db93cdbb3eea1c.zip |
Fix typos.
Diffstat (limited to 'chalk/doc')
-rw-r--r-- | chalk/doc/paint_device.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/doc/paint_device.txt b/chalk/doc/paint_device.txt index ab071cfe..32569728 100644 --- a/chalk/doc/paint_device.txt +++ b/chalk/doc/paint_device.txt @@ -54,7 +54,7 @@ Define a pointer to a memory buffer with QUANTUMS Create the buffer. Note that you cannot assume that there is one byte per channel; QUANTUM can be bigger. - buf = new QUANTUM[width * heigth * depth * sizeof(QUANTUM)]; + buf = new QUANTUM[width * height * depth * sizeof(QUANTUM)]; Fill the buf with the data. x1, y1, x2, y2 are the top left and bottom right corner of the section you want. stride is the width of the |