Small refactoring
This commit is contained in:
		
							parent
							
								
									03009f59fc
								
							
						
					
					
						commit
						f52603b31a
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,6 +1,6 @@ | |||||||
| all: sxiv | all: sxiv | ||||||
| 
 | 
 | ||||||
| VERSION = git-20110606 | VERSION = git-20110624 | ||||||
| 
 | 
 | ||||||
| CC = gcc | CC = gcc | ||||||
| DESTDIR = | DESTDIR = | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								main.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								main.c
									
									
									
									
									
								
							| @ -144,9 +144,8 @@ void update_title() { | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if (n >= TITLE_LEN) { | 	if (n >= TITLE_LEN) { | ||||||
| 		win_title[TITLE_LEN - 2] = '.'; | 		for (n = 0; n < 3; n++) | ||||||
| 		win_title[TITLE_LEN - 3] = '.'; | 			win_title[TITLE_LEN - n - 2] = '.'; | ||||||
| 		win_title[TITLE_LEN - 4] = '.'; |  | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	win_set_title(&win, win_title); | 	win_set_title(&win, win_title); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Bert
						Bert