forked from quickshell/quickshell
		
	core/log: fix encoding 29 second deltas (again)
Forgot the second if statement and didn't actually fix the bug last time.
This commit is contained in:
		
							parent
							
								
									01f6331cb7
								
							
						
					
					
						commit
						3690812919
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -594,7 +594,7 @@ bool EncodedLogWriter::write(const LogMessage& message) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			this->buffer.writeU8(field);
 | 
								this->buffer.writeU8(field);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (secondDelta > 29) {
 | 
								if (secondDelta >= 0x1d) {
 | 
				
			||||||
				if (secondDelta > 0xffff) {
 | 
									if (secondDelta > 0xffff) {
 | 
				
			||||||
					writeFullTimestamp();
 | 
										writeFullTimestamp();
 | 
				
			||||||
				} else {
 | 
									} else {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue