frm_driver.c (174993) | frm_driver.c (176187) |
---|---|
1/**************************************************************************** | 1/**************************************************************************** |
2 * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. * | 2 * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * |
3 * * 4 * Permission is hereby granted, free of charge, to any person obtaining a * 5 * copy of this software and associated documentation files (the * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 8 * distribute, distribute with modifications, sublicense, and/or sell * 9 * copies of the Software, and to permit persons to whom the Software is * 10 * furnished to do so, subject to the following conditions: * --- 16 unchanged lines hidden (view full) --- 27 ****************************************************************************/ 28 29/**************************************************************************** 30 * Author: Juergen Pfeifer, 1995,1997 * 31 ****************************************************************************/ 32 33#include "form.priv.h" 34 | 3 * * 4 * Permission is hereby granted, free of charge, to any person obtaining a * 5 * copy of this software and associated documentation files (the * 6 * "Software"), to deal in the Software without restriction, including * 7 * without limitation the rights to use, copy, modify, merge, publish, * 8 * distribute, distribute with modifications, sublicense, and/or sell * 9 * copies of the Software, and to permit persons to whom the Software is * 10 * furnished to do so, subject to the following conditions: * --- 16 unchanged lines hidden (view full) --- 27 ****************************************************************************/ 28 29/**************************************************************************** 30 * Author: Juergen Pfeifer, 1995,1997 * 31 ****************************************************************************/ 32 33#include "form.priv.h" 34 |
35MODULE_ID("$Id: frm_driver.c,v 1.85 2007/11/24 21:32:53 tom Exp $") | 35MODULE_ID("$Id: frm_driver.c,v 1.86 2008/01/19 20:11:03 tom Exp $") |
36 37/*---------------------------------------------------------------------------- 38 This is the core module of the form library. It contains the majority 39 of the driver routines as well as the form_driver function. 40 41 Essentially this module is nearly the whole library. This is because 42 all the functions in this module depends on some others in the module, 43 so it makes no sense to split them into separate files because they --- 627 unchanged lines hidden (view full) --- 671 old_bp = oldbuf + i * (1 + old_buflen); 672 for (j = 0; j < old_buflen; ++j) 673 new_bp[j] = old_bp[j]; 674 while (j < new_buflen) 675 new_bp[j++] = myBLANK; 676 new_bp[new_buflen] = myZEROS; 677 } 678 | 36 37/*---------------------------------------------------------------------------- 38 This is the core module of the form library. It contains the majority 39 of the driver routines as well as the form_driver function. 40 41 Essentially this module is nearly the whole library. This is because 42 all the functions in this module depends on some others in the module, 43 so it makes no sense to split them into separate files because they --- 627 unchanged lines hidden (view full) --- 671 old_bp = oldbuf + i * (1 + old_buflen); 672 for (j = 0; j < old_buflen; ++j) 673 new_bp[j] = old_bp[j]; 674 while (j < new_buflen) 675 new_bp[j++] = myBLANK; 676 new_bp[new_buflen] = myZEROS; 677 } 678 |
679#if USE_WIDEC_SUPPORT | 679#if USE_WIDEC_SUPPORT && NCURSES_EXT_FUNCS |
680 if (wresize(field->working, 1, Buffer_Length(field) + 1) == ERR) 681 result = FALSE; 682#endif 683 684 if (need_visual_update && result) 685 { 686 WINDOW *new_window = newpad(field->drows, field->dcols); 687 --- 3894 unchanged lines hidden --- | 680 if (wresize(field->working, 1, Buffer_Length(field) + 1) == ERR) 681 result = FALSE; 682#endif 683 684 if (need_visual_update && result) 685 { 686 WINDOW *new_window = newpad(field->drows, field->dcols); 687 --- 3894 unchanged lines hidden --- |