Commit 2b23aab1 authored by JanKusanagi's avatar JanKusanagi

Ignore possible negative likes count

parent 654bf9b6
......@@ -1393,7 +1393,7 @@ void Post::refreshLikesInfo(int likesListSize, int likesCount)
*/
void Post::setLikesLabel(int likesCount)
{
if (likesCount != 0)
if (likesCount > 0)
{
if (likesCount == 1)
{
......
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