mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-27 02:50:39 -04:00 
			
		
		
		
	Repair a minor defect in callsign input validation
This commit is contained in:
		
							parent
							
								
									6a2526f984
								
							
						
					
					
						commit
						05d8aa5022
					
				| @ -14,7 +14,7 @@ auto CallsignValidator::validate (QString& input, int& pos) const -> State | ||||
|       input.remove (0, 1); | ||||
|       if (pos > 0) --pos; | ||||
|     } | ||||
|   while (input.size () && input[input.size ()].isSpace ()) | ||||
|   while (input.size () && input[input.size () - 1].isSpace ()) | ||||
|     { | ||||
|       if (pos > input.size ()) --pos; | ||||
|       input.chop (1); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user