mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
fixes strncpy & buf size
Origin commit data
------------------
Commit: 7359504dd7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-07 (Tue, 07 Aug 2012)
Origin message was:
------------------
-fixes strncpy & buf size
This commit is contained in:
@@ -247,7 +247,7 @@ const CBookmark * CBookmarkManager::getBookmark(CMenuTarget* parent)
|
||||
listmaxshow=bookmarks.size();
|
||||
height = theight+0+listmaxshow*fheight*2; // recalc height
|
||||
}
|
||||
if (!(bookmarks.empty() && selected==bookmarks.size()))
|
||||
if ((!bookmarks.empty() && selected==bookmarks.size()))
|
||||
{
|
||||
selected=bookmarks.size()-1;
|
||||
liststart = (selected/listmaxshow)*listmaxshow;
|
||||
|
Reference in New Issue
Block a user