Capitalize printFormat for %X
This commit is contained in:
		
							parent
							
								
									17102e7e46
								
							
						
					
					
						commit
						9bf27a3115
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -290,8 +290,10 @@ Console::printFormat(const char* fmt,
 | 
			
		|||
                }
 | 
			
		||||
                spec.type = Spec::Type::Int;
 | 
			
		||||
                break;
 | 
			
		||||
            case 'x':
 | 
			
		||||
            case 'X':
 | 
			
		||||
                spec.capitalized = true;
 | 
			
		||||
                // fall through
 | 
			
		||||
            case 'x':
 | 
			
		||||
                switch (spec.size) {
 | 
			
		||||
                    case Spec::Size::Normal:
 | 
			
		||||
                        spec.value.x = va_arg(vl, unsigned int);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue