Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=c92b16380116040d32337ae19167acdbadf1632e

commit c92b16380116040d32337ae19167acdbadf1632e
Author: James Buren <[email protected]>
Date:   Mon Apr 28 05:31:46 2014 -0500

remove trailing whitespace

diff --git a/src-new/ui.cpp b/src-new/ui.cpp
index 6a0699f..68c07e4 100644
--- a/src-new/ui.cpp
+++ b/src-new/ui.cpp
@@ -20,11 +20,11 @@ bool UI::checkTTY(int fd)
case STDIN_FILENO:
fd_name = "stdin";
break;
-
+
case STDOUT_FILENO:
fd_name = "stdout";
break;
-
+
case STDERR_FILENO:
fd_name = "stderr";
break;
@@ -33,7 +33,7 @@ bool UI::checkTTY(int fd)
if(!isatty(fd))
{
printError(fd_name + " is not a tty.");
-               return false;
+               return false;
}

return true;
diff --git a/src-new/ui.hpp b/src-new/ui.hpp
index 8704cc4..8424173 100644
--- a/src-new/ui.hpp
+++ b/src-new/ui.hpp
@@ -14,14 +14,13 @@ class UI
class Widget
{
public:
+               static const unsigned char ALIGN_LEFT;
+               static const unsigned char ALIGN_RIGHT;
+               static const unsigned char ALIGN_TOP;
+               static const unsigned char ALIGN_BOTTOM;

-       static const unsigned char ALIGN_LEFT;
-       static const unsigned char ALIGN_RIGHT;
-       static const unsigned char ALIGN_TOP;
-       static const unsigned char ALIGN_BOTTOM;
-
-       static const unsigned char EXPAND_HORIZONTAL;
-       static const unsigned char EXPAND_VERTICAL;
+               static const unsigned char EXPAND_HORIZONTAL;
+               static const unsigned char EXPAND_VERTICAL;
};

class Label : Widget
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to