wmbutton: Use version number from autoconf.
This commit is contained in:
		
							parent
							
								
									8ba7f5d982
								
							
						
					
					
						commit
						726e538471
					
				
					 2 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
					@ -108,7 +108,7 @@ void show_usage(void)
 | 
				
			||||||
	fprintf(stderr, "usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
 | 
						fprintf(stderr, "usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
 | 
				
			||||||
		"[-F <font>] [-v] [-s] [-n]\n",app_name);
 | 
							"[-F <font>] [-v] [-s] [-n]\n",app_name);
 | 
				
			||||||
	fprintf(stderr, "\n");
 | 
						fprintf(stderr, "\n");
 | 
				
			||||||
	fprintf(stderr, " wmbutton version %s\n", VER_STR);
 | 
						fprintf(stderr, " wmbutton version %s\n", PACKAGE_VERSION);
 | 
				
			||||||
	fprintf(stderr, "\n");
 | 
						fprintf(stderr, "\n");
 | 
				
			||||||
	fprintf(stderr, "-g <geometry>  Window Geometry - ie: 64x64+10+10\n");
 | 
						fprintf(stderr, "-g <geometry>  Window Geometry - ie: 64x64+10+10\n");
 | 
				
			||||||
	fprintf(stderr, "-d <display>   Display - ie: 127.0.0.1:0.0\n");
 | 
						fprintf(stderr, "-d <display>   Display - ie: 127.0.0.1:0.0\n");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -19,9 +19,6 @@
 | 
				
			||||||
#define CONFIGGLOBAL "/etc/wmbutton.conf" /* system configuration */
 | 
					#define CONFIGGLOBAL "/etc/wmbutton.conf" /* system configuration */
 | 
				
			||||||
#define BUTTONFILENAME "/.wmbutton.xpm"
 | 
					#define BUTTONFILENAME "/.wmbutton.xpm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/******  Version Number *************************************************/
 | 
					 | 
				
			||||||
#define VER_STR       "0.7.0"     /* Version Number String */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/******  Define Error Codes *********************************************/
 | 
					/******  Define Error Codes *********************************************/
 | 
				
			||||||
#define FAILDISP      20
 | 
					#define FAILDISP      20
 | 
				
			||||||
#define FAILSWIN      21
 | 
					#define FAILSWIN      21
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue