FileSystem: Fix while termination condition
This commit is contained in:
		
							parent
							
								
									183ebbed65
								
							
						
					
					
						commit
						b02224206e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -508,7 +508,7 @@ findFontsFolderCB(void *data, const char *, const char *fname)
 | 
				
			||||||
	char buffer[512];
 | 
						char buffer[512];
 | 
				
			||||||
	const char *s = fname;
 | 
						const char *s = fname;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	while (s && i < sizeof(buffer))
 | 
						while (*s && i < sizeof(buffer))
 | 
				
			||||||
		buffer[i++] = tolower(*s++);
 | 
							buffer[i++] = tolower(*s++);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	buffer[i] = '\0';
 | 
						buffer[i] = '\0';
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue