mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix logic issue in do_var_replacement
This commit is contained in:
		
							parent
							
								
									067fe9d047
								
							
						
					
					
						commit
						f4870d5432
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -662,7 +662,7 @@ char *do_var_replacement(char *str) {
 | 
			
		|||
			size_t length = strlen(find + 1);
 | 
			
		||||
			strncpy(find, find + 1, length);
 | 
			
		||||
			find[length] = '\0';
 | 
			
		||||
			find += 2;
 | 
			
		||||
			++find;
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
		// Find matching variable
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue