xaizek / pms (License: GPLv3+) (since 2018-12-07)
Older version of Practical Music Search written in C++.
Commit b7d36a649d2339a22a11fb3530399cb6e9e3ca96

Fix currently playing song highlight not always being drawn correctly
Author: Kim Tore Jensen
Author date (UTC): 2015-08-22 08:59
Committer name: Kim Tore Jensen
Committer date (UTC): 2015-08-22 08:59
Parent(s): 0cf7f4c0b16a038751f5b0987b70f56295ab063d
Signing key:
Tree: 7b81287925f6adb283f5538ef7f69e6257bd306a
File Lines added Lines deleted
src/display.cpp 2 4
File src/display.cpp changed (mode: 100644) (index 232324f..891d530)
... ... void pms_win_playlist::draw()
724 724 { {
725 725 hilight = pms->options->colors->selection; hilight = pms->options->colors->selection;
726 726 } }
727 else if (pms->cursong() && song->file == pms->cursong()->file)
728 {
729 if (list->role != LIST_ROLE_MAIN || (list->role == LIST_ROLE_MAIN && pms->cursong()->pos == song->pos))
730 {
727 else if (pms->cursong()) {
728 if ((list->role == LIST_ROLE_MAIN && pms->cursong()->id == song->id) || (list->role != LIST_ROLE_MAIN && song->file == pms->cursong()->file)) {
731 729 hilight = pms->options->colors->current; hilight = pms->options->colors->current;
732 730 } }
733 731 } }
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/pms

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/pms

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master