Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 evolvotron (0.6.1-2) unstable; urgency=low
 .
   * Apply patch of Pedro Gimeno to fix the cli tool. (Closes: #670211).
     Many thanks.
   * Bump standards version to 3.9.3.
   * Add missing debian/source/format.
   * debian/evolvotron.desktop: drop Encoding.
   * debian/watch: Added.
Author: Gürkan Sengün <gurkan@phys.ethz.ch>
Bug-Debian: http://bugs.debian.org/670211

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- evolvotron-0.6.1.orig/evolvotron_mutate/evolvotron_mutate.cpp
+++ evolvotron-0.6.1/evolvotron_mutate/evolvotron_mutate.cpp
@@ -65,14 +65,14 @@ int main(int argc,char* argv[])
 
 	const boost::shared_ptr<const MutatableImage> imagefn_in(MutatableImage::load_function(mutation_parameters.function_registry(),std::cin,report));
 
-	if (imagefn_in)
+	if (imagefn_in.get()==0)
 	  {
-	    std::cerr << "evolvotron_render: Error: Function not loaded due to errors:\n" << report;
+	    std::cerr << "evolvotron_mutate: Error: Function not loaded due to errors:\n" << report;
 	    exit(1);
 	  }
 	else if (!report.empty())
 	  {
-	    std::cerr << "evolvotron_render: Warning: Function loaded with warnings:\n" << report;
+	    std::cerr << "evolvotron_mutate: Warning: Function loaded with warnings:\n" << report;
 	  }
 
 	imagefn_out=imagefn_in->mutated(mutation_parameters);
