use full word "display" for variable in all places
[ozzloy@gmail.com/oble] / oble.cpp
index ab5ca3918f96ad3cf503e8e12d831996448d9fa6..be973e23c11704828e781a483c420365b2fd91c8 100644 (file)
--- a/oble.cpp
+++ b/oble.cpp
@@ -96,7 +96,6 @@ void update_idle(int faces_total)
        {
          if(verbose)printf("\t\tpoking\n");
          reset_idle_time();
-         system("gnome-screensaver-command --poke");
        }
       saw_last_time = 1;
     }
@@ -256,7 +255,7 @@ int get_one_frame(CvCapture* capture, IplImage* &frame)
   if(!frame)
     {
       cerr << "ERROR: frame is null..., trying again" << endl;
-      frame = cvQueryFrame(capture);
+      frame = cvQueryFrame(capture); 
       if(!frame)
         {
           cerr << "ERROR: frame is still null... maybe reset capture?" << endl;