mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #1924 from nbraud/spelling
swaymsg: Fix spelling in error message
This commit is contained in:
		
						commit
						967b14c227
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -32,7 +32,7 @@ static void pretty_print_cmd(json_object *r) {
 | 
				
			||||||
	if (!success(r, true)) {
 | 
						if (!success(r, true)) {
 | 
				
			||||||
		json_object *error;
 | 
							json_object *error;
 | 
				
			||||||
		if (!json_object_object_get_ex(r, "error", &error)) {
 | 
							if (!json_object_object_get_ex(r, "error", &error)) {
 | 
				
			||||||
			printf("An unknkown error occured");
 | 
								printf("An unknkown error occurred");
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			printf("Error: %s\n", json_object_get_string(error));
 | 
								printf("Error: %s\n", json_object_get_string(error));
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue