View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-2 / +3 lines)
 Lines 1-4    Link Here 
/* See LICENSE file for copyright and license details. */
/* See LICENSE file for copyright and license details. */
#define _BSD_SOURCE
#include <ctype.h>
#include <ctype.h>
#include <locale.h>
#include <locale.h>
#include <stdarg.h>
#include <stdarg.h>
 Lines 477-487    Link Here 
		calcoffsets();
		calcoffsets();
		break;
		break;
	case XK_Return:
	case XK_Return:
		if((e->state & ShiftMask) && text)
		if((e->state & ShiftMask) && *text)
			fprintf(stdout, "%s", text);
			fprintf(stdout, "%s", text);
		else if(sel)
		else if(sel)
			fprintf(stdout, "%s", sel->text);
			fprintf(stdout, "%s", sel->text);
		else if(text)
		else if(*text)
			fprintf(stdout, "%s", text);
			fprintf(stdout, "%s", text);
		fflush(stdout);
		fflush(stdout);
		running = False;
		running = False;