mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Made several functions threadsafe (cont'd)
This commit is contained in:
		
							
								
								
									
										4
									
								
								themes.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								themes.c
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: themes.c 1.4 2004/12/19 15:49:49 kls Exp $ | ||||
|  * $Id: themes.c 1.5 2004/12/24 17:00:41 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "themes.h" | ||||
| @@ -248,7 +248,7 @@ bool cThemes::Load(const char *SkinName) | ||||
|      while ((e = d.Next()) != NULL) { | ||||
|            if (strcmp(e->d_name, ".") && strcmp(e->d_name, "..")) { | ||||
|               if (strstr(e->d_name, SkinName) == e->d_name && e->d_name[strlen(SkinName)] == '-') { | ||||
|                  cAddDirectory FileName(themesDirectory, e->d_name); | ||||
|                  cString FileName = AddDirectory(themesDirectory, e->d_name); | ||||
|                  cTheme Theme; | ||||
|                  if (Theme.Load(*FileName, true)) { | ||||
|                     names = (char **)realloc(names, (numThemes + 1) * sizeof(char *)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user