Commit 9dc53042 authored by thrust26's avatar thrust26
Browse files

fixes #422

parent 8553aea3
......@@ -78,7 +78,9 @@ void TiaOutputWidget::saveSnapshot(int execDepth, const string& execPrefix)
height = instance().console().tia().height();
FBSurface& s = dialog().surface();
GUI::Rect rect(_x, _y, _x + width*2, _y + height);
// to skip borders, add 1 to origin
int x = _x + 1, y = _y + 1;
GUI::Rect rect(x, y, x + width*2, y + height);
string message = "Snapshot saved";
try
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment