mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	Fix ordering in portugese (bug #3452)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		
							
								
								
									
										10
									
								
								say.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								say.c
									
									
									
									
									
								
							@@ -1957,11 +1957,6 @@ static int ast_say_number_full_pt(struct ast_channel *chan, int num, const char
 | 
				
			|||||||
				playh = 1;
 | 
									playh = 1;
 | 
				
			||||||
			num = num % 1000000;
 | 
								num = num % 1000000;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (!res && playh) {
 | 
					 | 
				
			||||||
			res = wait_file(chan, ints, "digits/pt-e", language);
 | 
					 | 
				
			||||||
			ast_stopstream(chan);
 | 
					 | 
				
			||||||
			playh = 0;
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		if (!res) {
 | 
							if (!res) {
 | 
				
			||||||
			if (!ast_streamfile(chan, fn, language)) {
 | 
								if (!ast_streamfile(chan, fn, language)) {
 | 
				
			||||||
				if ((audiofd > -1) && (ctrlfd > -1))
 | 
									if ((audiofd > -1) && (ctrlfd > -1))
 | 
				
			||||||
@@ -1971,6 +1966,11 @@ static int ast_say_number_full_pt(struct ast_channel *chan, int num, const char
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
			ast_stopstream(chan);
 | 
								ast_stopstream(chan);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							if (!res && playh) {
 | 
				
			||||||
 | 
								res = wait_file(chan, ints, "digits/pt-e", language);
 | 
				
			||||||
 | 
								ast_stopstream(chan);
 | 
				
			||||||
 | 
								playh = 0;
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return res;
 | 
						return res;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user