mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10485
This commit is contained in:
parent
978c79f062
commit
7218906a32
|
@ -6644,3 +6644,11 @@ David 22 June 2006
|
|||
log_flags.h
|
||||
sched/
|
||||
server_types.C
|
||||
|
||||
David 22 June 2006
|
||||
- Fix Win bug where accelerators kept concatenating
|
||||
|
||||
client/
|
||||
client_msgs.h
|
||||
win/
|
||||
hostinfo_win.cpp
|
||||
|
|
|
@ -55,6 +55,14 @@ struct MESSAGE_DESC {
|
|||
extern std::deque<MESSAGE_DESC*> message_descs;
|
||||
extern void record_message(class PROJECT *p, int priority, int now, char* msg);
|
||||
extern void show_message(class PROJECT *p, char* message, int priority);
|
||||
|
||||
// the __attribute((format...)) tags are GCC extensions that let the compiler
|
||||
// do like-checking on printf-like arguments
|
||||
//
|
||||
#if !defined(__GNUC__) && !defined(__attribute__)
|
||||
#define __attribute__(x) /*nothing*/
|
||||
#endif
|
||||
|
||||
extern void msg_printf(PROJECT *p, int priority, const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
|
||||
#endif
|
||||
|
|
|
@ -559,6 +559,7 @@ int get_accelerators(
|
|||
DWORD iDevice = 0;
|
||||
INTERNALMONITORINFO dispdev;
|
||||
dispdev.cb = sizeof(dispdev);
|
||||
strcpy(accelerators, "");
|
||||
while(EnumDisplayDevices(NULL, iDevice, (PDISPLAY_DEVICE)&dispdev, 0)) {
|
||||
// Ignore NetMeeting's mirrored displays
|
||||
if ((dispdev.StateFlags & DISPLAY_DEVICE_MIRRORING_DRIVER) == 0) {
|
||||
|
|
Loading…
Reference in New Issue