fixed screenshots. Again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13484 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-07-06 10:21:23 +00:00
parent 80cb793d80
commit 101e7104ed

View File

@ -1590,7 +1590,7 @@ RootLayer::KeyboardEventHandler(int32 code, BPrivate::PortLink& msg)
int32 index = 1;
do {
sprintf(filename, "/boot/home/screen%ld.png", index);
sprintf(filename, "/boot/home/screen%ld.png", index++);
entry.SetTo(filename);
} while(entry.Exists());