• Mike Gabriel's avatar
    hw/nxagent/Screen.c: Correctly use already defined MIN/MAX macros. · 72386e17
    Mike Gabriel authored
     Use MIN(A,B) macro as defined in Utils.h. Add MAX(A,B) macro in Utils.h,
     as well. Don't have another set of MIN/MAX macro definitions in
     Screen.c.
    
     Amends the following compiler warnings:
    
     ```
     Screen.c:3600:0: warning: "MIN" redefined
      #define MIN(a,b) ((a) < (b)) ? (a) : (b);
      ^
     In file included from Screen.c:78:0:
     Utils.h:36:0: note: this is the location of the previous definition
      #define MIN(A, B) ( (A) < (B) ? (A) : (B) )
      ^
     ```
    72386e17
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
nx-X11 Loading commit data...
nxcomp Loading commit data...
nxcompext Loading commit data...
nxcompshad Loading commit data...
nxproxy Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile Loading commit data...
README.NX-development Loading commit data...
README.keystrokes Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
VERSION.x2goagent Loading commit data...
fix-patch-whitespace Loading commit data...
nx-libs.spec Loading commit data...
replace.sh Loading commit data...
version.sh Loading commit data...
x2goagent.features Loading commit data...