From 5dc439aa19afdad5cc62c85c45cf95c2437b3f3d Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 10 Aug 2010 00:34:54 +0200 Subject: [PATCH] lyrics: rename Lyrics::FetchAgain() to Lyrics::Refetch() --- src/lyrics.cpp | 2 +- src/lyrics.h | 2 +- src/ncmpcpp.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lyrics.cpp b/src/lyrics.cpp index 185efef3..5b92b43c 100644 --- a/src/lyrics.cpp +++ b/src/lyrics.cpp @@ -279,7 +279,7 @@ void Lyrics::Save(const std::string &lyrics) } } -void Lyrics::FetchAgain() +void Lyrics::Refetch() { std::string path = Folder + "/" + locale_to_utf_cpy(itsSong.GetArtist()) + " - " + locale_to_utf_cpy(itsSong.GetTitle()) + ".txt"; if (!remove(path.c_str())) diff --git a/src/lyrics.h b/src/lyrics.h index aa86117d..b6449738 100644 --- a/src/lyrics.h +++ b/src/lyrics.h @@ -47,7 +47,7 @@ class Lyrics : public Screen void Edit(); void Save(const std::string &lyrics); - void FetchAgain(); + void Refetch(); static bool Reload; diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index 8a6c7741..05de53c4 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -2033,7 +2033,7 @@ int main(int argc, char *argv[]) } else if (myScreen == myLyrics) { - myLyrics->FetchAgain(); + myLyrics->Refetch(); } } else if (Keypressed(input, Key.SongInfo))