Bug 161308 - Number of games played increments both when a game is started and when a game ends
Summary: Number of games played increments both when a game is started and when a game...
Status: RESOLVED FIXED
Alias: None
Product: lskat
Classification: Applications
Component: general (show other bugs)
Version: 1.40
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-26 17:41 UTC by Scott Kitterman
Modified: 2009-03-02 04:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch for Fixing the Number of Games (347 bytes, patch)
2008-08-01 23:23 UTC, Raja Shekhar Alli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Kitterman 2008-04-26 17:41:49 UTC
Version:            (using KDE 4.0.3)
Installed from:    Ubuntu Packages
OS:                Linux

Each time I start a game of lskat the counter for how many games have been played increments (e.g. Games: 3/10).  Then the counter increments again when the game is finished.  As a result, I currently get:

Alice: Games: 3/10
Bob: Games: 1/10

What's actually been done is:

1 game started, not finished
4 games played completely
1 game in progress

The number of games played should increment when a game is started or when it's finished, but not both.
Comment 1 Scott Kitterman 2008-04-26 17:42:44 UTC
Version is 1.40 from KDE 4.0.3.
Comment 2 George Goldberg 2008-04-29 03:38:39 UTC
I can reproduce this in svn trunk r801873.
Comment 3 Raja Shekhar Alli 2008-08-01 23:23:52 UTC
Created attachment 26557 [details]
Patch for Fixing the Number of Games

This patch fixes the bug. Now the number of games is incremented only when a
game is started.
Comment 4 Scott Kitterman 2009-03-02 04:21:22 UTC
I can confirm it's fixed on 4.2.0.