mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
fix for 523bea256ad23bf6ae1c1f7e2b9532dec3a3b248
Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Thilo Graf <dbt@novatux.de>
commit was: screensaver.cpp: avoid unterminated strings
Origin commit data
------------------
Branch: ni/coolstream
Commit: d3d3a54e4f
Author: Markus Volk <f_l_k@t-online.de>
Date: 2020-01-18 (Sat, 18 Jan 2020)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -300,7 +300,7 @@ bool CScreenSaver::ReadDir()
|
||||
//printf("%d\n",curr_lenght);
|
||||
if(curr_lenght > 4)
|
||||
{
|
||||
strncpy(curr_ext,(*dirpointer).d_name+(curr_lenght-4),sizeof(curr_lenght)-1);
|
||||
strncpy(curr_ext,(*dirpointer).d_name+(curr_lenght-4),sizeof(curr_ext)-1);
|
||||
|
||||
//printf("%s\n",curr_ext);
|
||||
if (strcasecmp(".jpg",curr_ext) && strcasecmp(".png",curr_ext))
|
||||
|
Reference in New Issue
Block a user