[Pkg-wmaker-commits] [wmstickynotes] 74/81: Fix small bug (typo of default label for a switch) and fix some indentation.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:33:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmstickynotes.

commit f6d0f1a71c3baeeeca55e970501d85135bf4ecd0
Author: hnc <hnc at 7fc852e4-12a7-4f5b-bad7-374d67da4d19>
Date:   Fri Jun 5 15:44:57 2015 +0000

    Fix small bug (typo of default label for a switch) and fix some indentation.
    
    git-svn-id: svn://svn.code.sf.net/p/wmstickynotes/code@23 7fc852e4-12a7-4f5b-bad7-374d67da4d19
---
 ChangeLog       |  4 ++++
 THANKS          |  3 +++
 configure.ac    |  2 +-
 wmstickynotes.c | 40 ++++++++++++++++++++--------------------
 4 files changed, 28 insertions(+), 21 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b0eaf98..855670f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-05  Heath Caldwell <hncaldwell at fastmail.com>
+	* Release wmstickynotes-0.7.
+	* Fixed a small typo bug.
+
 2015-06-04  Heath Caldwell <hncaldwell at fastmail.com>
 	* Release wmstickynotes-0.6.
 	* Added ability to restore notes to previous workspaces.
diff --git a/THANKS b/THANKS
index 3e43c47..59b845b 100644
--- a/THANKS
+++ b/THANKS
@@ -11,3 +11,6 @@ wmhints for the icon window.
 Thanks to Doug Torrance <dtorrance at monmouthcollege.edu> for creating a man page
 and for patches to fix the icon window size and to add some failure checks.
 
+Thanks to Andreas Tscharner <andy at vis.ethz.ch> for suggesting the ability to
+restore notes to previous workspaces and for pointing out a bug.
+
diff --git a/configure.ac b/configure.ac
index 4fa49d8..27d9078 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
 # Heath Caldwell <hncaldwell at fastmail.com>
 #
 
-AC_INIT([wmstickynotes],[0.6],[Heath Caldwell <hncaldwell at fastmail.com>])
+AC_INIT([wmstickynotes],[0.7],[Heath Caldwell <hncaldwell at fastmail.com>])
 AM_INIT_AUTOMAKE
 AC_CONFIG_HEADER([config.h])
 
diff --git a/wmstickynotes.c b/wmstickynotes.c
index f2c6614..11d9b20 100644
--- a/wmstickynotes.c
+++ b/wmstickynotes.c
@@ -82,23 +82,23 @@ int main(int argc, char *argv[])
 
 	while((i = getopt_long(argc, argv, "nd:vh", long_options, &option_index)) > -1) {
 		switch(i) {
-			case 'n':
-				store_notes = FALSE;
-				break;
-			case 'd':
-				wmstickynotes_dir = optarg;
-				use_default_dir = FALSE;
-				break;
-			case 'v':
-				printf("%s\n", PACKAGE_STRING);
-				printf("Copyright (C) 2009  %s\n", PACKAGE_BUGREPORT);
-				return 0;
-			case 'h':
-				usage();
-				return 0;
-			default:
-				usage();
-				return 1;
+		case 'n':
+			store_notes = FALSE;
+			break;
+		case 'd':
+			wmstickynotes_dir = optarg;
+			use_default_dir = FALSE;
+			break;
+		case 'v':
+			printf("%s\n", PACKAGE_STRING);
+			printf("Copyright (C) 2009  %s\n", PACKAGE_BUGREPORT);
+			return 0;
+		case 'h':
+			usage();
+			return 0;
+		default:
+			usage();
+			return 1;
 		}
 	}
 
@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
 			strcat(wmstickynotes_dir, "/");
 			strcat(wmstickynotes_dir, default_wmstickynotes_dir);
 		}
-	
+
 		if(chdir(wmstickynotes_dir)) {
 			if(errno == ENOENT) {
 				if(mkdir(wmstickynotes_dir, 0777)) {
@@ -133,7 +133,7 @@ int main(int argc, char *argv[])
 				exit(1);
 			}
 		}
-	
+
 		if(use_default_dir) free(wmstickynotes_dir);
 	}
 
@@ -248,7 +248,7 @@ int get_workspace(Display *disp, Window win)
 		case 32:
 			workspace = (int32_t)(*ret_prop);
 			break;
-		defalt:
+		default:
 			workspace = 0;
 		}
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmstickynotes.git



More information about the Pkg-wmaker-commits mailing list