lighter deletion + playlist status added
This commit is contained in:
11
src/misc.cpp
11
src/misc.cpp
@@ -22,16 +22,16 @@
|
||||
|
||||
using std::stringstream;
|
||||
|
||||
int Abs(int num)
|
||||
{
|
||||
return (num < 0 ? -num : num);
|
||||
}
|
||||
|
||||
int StrToInt(string str)
|
||||
{
|
||||
return atoi(str.c_str());
|
||||
}
|
||||
|
||||
int StrToInt(char str[])
|
||||
{
|
||||
return atoi(str);
|
||||
}
|
||||
|
||||
string IntoStr(int liczba)
|
||||
{
|
||||
stringstream ss;
|
||||
@@ -66,4 +66,3 @@ string ShowTime(int length)
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user