Skip to content

Commit

Permalink
Bugfix: scroll up/down crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
x-xy-y committed Aug 12, 2012
1 parent 0171375 commit 293df1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtitles/RTS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ GrayImage2* CClipper::PaintScrollClipper()
if(k < h)
{
BYTE* am = &data[k*w];
memset(result, 0, am - data);
memset(data, 0, am - data);
for(int j = k; j < l; j++, a += da)
{
for(int i = 0; i < w; i++, am++)
Expand Down

0 comments on commit 293df1a

Please sign in to comment.