mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Revert "config handles comments better"
This reverts commit e9c3a9016f.
			
			
This commit is contained in:
		
							parent
							
								
									2139001c9f
								
							
						
					
					
						commit
						868cb3ca71
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -41,7 +41,7 @@ void strip_comments(char *str) {
 | 
				
			||||||
		} else if (str[i] == '\'' && !in_string) {
 | 
							} else if (str[i] == '\'' && !in_string) {
 | 
				
			||||||
			in_character = !in_character;
 | 
								in_character = !in_character;
 | 
				
			||||||
		} else if (!in_character && !in_string) {
 | 
							} else if (!in_character && !in_string) {
 | 
				
			||||||
			if (str[i] == '#') {
 | 
								if (str[i] == '#' && i == 0) {
 | 
				
			||||||
				str[i] = '\0';
 | 
									str[i] = '\0';
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue